FFLOW 0.4.0: {{date}}/{{time}} tokens with moment formats in step values
This commit is contained in:
1 parent
157e5e018a
commit
f5992e4539
8 files changed
+68
-20
No files matched your search
@@ -33,6 +33,8 @@ Picking a step, by symbol or by hotkey:
|
||||
|
||||
List properties (`cssclasses`, `tags`, `aliases`, any property Obsidian types as a list, or one that already holds a list) take comma-separated items and are merged with what's there. Other properties are replaced; `true`/`false` and plain numbers are written typed.
|
||||
|
||||
Date and time, as in Obsidian's core Templates: `{{date}}` (`YYYY-MM-DD`), `{{time}}` (`HH:mm`), or any [moment.js format](https://momentjs.com/docs/#/displaying/format/) with `{{date:DD/MM/YYYY}}`, `{{time:HH:mm:ss}}`, `{{date:YYYY-MM-DD[T]HH:mm}}`. Tokens can sit inside text (`done on {{date}}`). Leaving the step removes the value only if it still matches the template, i.e. a date the flow wrote.
|
||||
|
||||
A note without a value, or with a value outside the flow, enters at the first step. Properties change only through FFLOW, not when edited by hand.
|
||||
|
||||
## Development
|
||||
|
||||
Reference in new issue
Block a user