Steps to reproduce
- Setup the Templates core plugin.
- Make a template containing
{{Date}}
and{{DATE}}
. - Trigger the template.
Expected result
Each template tag should be replaced by the date.
It wouldn’t shock me if these capitalizations aren’t intentionally supported, but {{Time}}
and {{TIME}}
seem to work correctly (I didn’t test with custom formats). Also it’s nice to support at least the first one to accommodate autocorrect behavior.
If the capitalizations aren’t supported I’d expect to see the template tags reproduced as they were typed.
Actual result
Both tags are replaced by the time.
Environment
SYSTEM INFO:
Operating system: ios 16.3.1 (Apple iPad)
Obsidian version: 1.4.3 (95)
API version: v1.1.16
Login status: logged in
Catalyst license: none
Live preview: on
Legacy editor: off
Base theme: adapt to system
Community theme: none
Snippets enabled: 20
Restricted mode: on
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Additional information
Discovered via a help request on Discord.