Incorrect Date Parsing in Unique Note Prefix Format

Bug Report: Incorrect Date Parsing in Unique Note Prefix Format

Steps to Reproduce

  1. Set the note prefix format to β€œ:thought_balloon: (YY.MM.DD)”.
  2. Use a hotkey (in this context, cmd+U) to create a unique note. The current date is March 15, 2024.

Troubleshooting Attempted

Expected Behavior

  • The note’s date prefix should be β€œ24.03.15”, aligning with the specified format β€œ:thought_balloon: (YY.MM.DD)”.
  • Alternatively, if this is due to some overly rigid uniqueness rules (in my case, I’m 100% sure there are no other notes with the same name) that increment the day, it should be clearly explained and stated, as the current behavior is confusing.

Actual Behavior

  • The generated note’s date prefix is β€œ24.03.23”, which does not match the expected date format.

Environment Details

  • Obsidian Version: v1.5.10
  • Installer Version: v1.4.13
  • Operating System: Darwin Kernel Version 23.2.0 (macOS)
  • Login Status: Logged in
  • Catalyst License: VIP
  • Insider Build: Enabled
  • Live Preview: Enabled
  • Base Theme: Light
  • Community Theme: None
  • Snippets Enabled: 0
  • Restricted Mode: Off
  • Plugins Installed: 5
  • Plugins Enabled: 5
    1. Readwise Official v2.0.1
    2. Calendar v1.5.10
    3. Dataview v0.5.64
    4. Find orphaned files and broken links v1.9.1
    5. Better Word Count v0.10.1

Recommendations

  • For issues related to community plugins, ensure all plugins are updated to their latest versions. If the issue persists, try replicating it in the Sandbox Vault or disabling community plugins.

Additional Information

  • Any further details that might aid the investigation (e.g., screenshots, log files) are welcomed. Screenshots can be directly uploaded here. For extensive text data, consider using services like Pastebin.

Read this: