Skip to content

Changes by create-pull-request action #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions lastPostId.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
482

493
48 changes: 48 additions & 0 deletions scripts/dryice_1635789149000.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
title:
author: dryice (https://forum.obsidian.md/u/dryice)
Publication Date: Mon Nov 01 2021
Last modification Date: Mon Nov 08 2021
---


<p>Hi Rasmus,</p>
<p>I use Inline Dataview Fields instead of YAML because of <a href="https://forum.obsidian.md/t/dataview-task-and-project-examples/17011/10">this post here</a>. But you may find my stuff useful.</p>
<h3>
<a name="weekly-review-note-1" class="anchor" href="#weekly-review-note-1"></a><strong>weekly review note</strong>
</h3>
<h5>
<a name="time-information-2" class="anchor" href="#time-information-2"></a>Time Information</h5>
<pre><code class="lang-auto">- #&#x1F4D3;/7&#xFE0F;&#x20E3;
- **Days**:: [[&lt;% tp.date.now(&quot;YYYY-MM-DD&quot;, -1, tp.file.title, &quot;YYYY-[W]ww&quot;) %&gt;]], [[&lt;% tp.date.now(&quot;YYYY-MM-DD&quot;, +0, tp.file.title, &quot;YYYY-[W]ww&quot;) %&gt;]], [[&lt;% tp.date.now(&quot;YYYY-MM-DD&quot;, +1, tp.file.title, &quot;YYYY-[W]ww&quot;) %&gt;]], [[&lt;% tp.date.now(&quot;YYYY-MM-DD&quot;, +2, tp.file.title, &quot;YYYY-[W]ww&quot;) %&gt;]], [[&lt;% tp.date.now(&quot;YYYY-MM-DD&quot;, +3, tp.file.title, &quot;YYYY-[W]ww&quot;) %&gt;]], [[&lt;% tp.date.now(&quot;YYYY-MM-DD&quot;, +4, tp.file.title, &quot;YYYY-[W]ww&quot;) %&gt;]], [[&lt;% tp.date.now(&quot;YYYY-MM-DD&quot;, +5, tp.file.title, &quot;YYYY-[W]ww&quot;) %&gt;]]
%% Create note on Sunday - days of the week include from Sunday last week to Saturday%%
- **Month**:: [[&lt;%tp.date.now(&quot;YYYY-MM&quot;, +0, tp.file.title, &quot;YYYY-[W]ww&quot;)%&gt;]]
- **Quarter**:: [[&lt;% tp.date.now(&quot;YYYY-[Q]Q&quot;, +0, tp.file.title, &quot;YYYY-[W]ww&quot;) %&gt;]]
- **Year**:: [[&lt;% tp.date.now(&quot;YYYY&quot;, +0, tp.file.title, &quot;YYYY-[W]ww&quot;) %&gt;]]
</code></pre>
<h4>
<a name="example-sleep-tracker-3" class="anchor" href="#example-sleep-tracker-3"></a>Example Sleep Tracker</h4>
<pre><code class="lang-auto">##### Sleep and Energy Tracking
- *Weekly Sleep Average calculation*: `=round(sum(this.days.sleep-duration)/7, 4)`
- *Round the decimal*: `=round(0.&lt;%tp.file.cursor(1)%&gt;*60)` minutes
- **Sleep Duration**::
```dataview
table WITHOUT ID
file.link as Date____,
join(list(sleep-hour, sleep-minute), &quot;:&quot;) as &quot;Sleep Time&quot;,
join(list(awake-hour, awake-minute), &quot;:&quot;) as &quot;Awake Time&quot;,
sleep-duration as &quot;Sleep Duration&quot;,
choice(physical-activity, &quot;&#x2705;&quot;, &quot;&#x274C;&quot;) as &quot;Physical Activity&quot;
FROM #&#x1F4D3;
WHERE week = this.file.link
sort file.name asc
```
</code></pre>
<h4>
<a name="example-habit-tracking-using-inline-dataview-4" class="anchor" href="#example-habit-tracking-using-inline-dataview-4"></a>Example Habit Tracking - using inline Dataview</h4>
<pre><code class="lang-auto">- **Morning Gratitude**::
- *This Week&apos;s Morning Gratitude*: `=this.days.morning-gratitude`
- **Desired Outcome**::
- *This Week&apos;s Desired Outcome*: `=this.days.desired-outcome`
```</code></pre>