Obsidian auto date insert does not work anymore it is still on 2025

Steps to reproduce

after new year. 2 weeks have passed while updating and organizing my notes i realised dates of creation does not math to dates that are created.
How i figured it out.
within my notes each note has a date value that is how i organize them and mostly they are created in that date(daily note)

for a default note i also have an auto insert of that date

---
Id: <% tp.date.now("YYYYMMDDHHmmss") %>
date: <% tp.date.now("YYYY_MM_DD") %>
Type:
Last Update: <% tp.date.now("YYYY_MM_DD HH:mm") %>
---
# <% tp.file.title %>

<% tp.file.cursor() %>

my pc date is correct it is now showcasing 2026_01_15

Example created note just a moment ago

this issue does not seem to be replicating itself on the basic daily note creator

---
Date: <% tp.file.creation_date() %>
Id: <% tp.date.now("YYYYMMDDHHmmss") %>
Type:
  - Daily_Note
---

<< [[<% tp.date.now("YYYY_MM_DD", -1) %>]] | [[<% tp.date.now("YYYY_MM_DD", 1) %>]] >>


<%*
let title = tp.file.title
tR += "[[1_Me/InnerLog/"+"InnerLog_" + title + "]]"
%>
# <% tp.file.title %>




i would have assumed that the formatting is diffrent thus causes issue

since one gets file.creation.date and the other inputs the date
but this is being replicated on the id (Which is generated by date now)

# Did you follow the troubleshooting guide? [Y/N]

  • restarted pc
  • connected pc to vpn
  • tested it on other templates
  • plugins doesn’t change it
  • restricted mode i couldn’t test since i need a new day to test it out and templater script is a plugin

Expected result

Excpected result like in daily note is to get that date and time

Date: 2026-01-15 16:05
Id: 20260115160547

Actual result

Id: 20251208114438
date: 2025_12_08

Environment

SYSTEM INFO:
Obsidian version: v1.11.4
Installer version: v1.7.7
Operating system: Windows 10 Pro 10.0.19045
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: dark
Community theme: none
Snippets enabled: 1
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

it started after the new update
as i check back i cannot find any note that had this issue within the first week of this new year


i am %99 sure it will get fixed if i revert an update but i really don’t want to reinstall this thing. it took me so long to setup it with a github and all the plugin extension in this pc .

finding

if i change the date to <% tp.file.creation_date() %> like it is on the daily note issue gets fixed on id as well ‘<% tp.date.now(“YYYYMMDDHHmmss”) %>’

Mods you can close this as “solved?” since i guess the old date format doesn’t work anymore but other than that it is working.

two things

  1. We do not take bug reports involving third party plugins (in this case I see templater)
  2. The format for dates in YAML source MUST BE ISO8601. It doesn’t look like you are doing that.

moved to help section

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.