# Incorrect Date Parsing in Unique Note Prefix Format

**URL:** <https://forum.obsidian.md/t/incorrect-date-parsing-in-unique-note-prefix-format/78648>\
**Category:** Help\
**Created:** [March 15, 2024, 10:04am UTC](https://forum.obsidian.md/t/incorrect-date-parsing-in-unique-note-prefix-format/78648 "2024-03-15T10:04:42Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![purplebrackets](https://forum.obsidian.md/user_avatar/forum.obsidian.md/purplebrackets/32/79786_2.png) [@purplebrackets](https://forum.obsidian.md/u/purplebrackets)\
**Post date:** [March 15, 2024, 10:04am UTC](https://forum.obsidian.md/t/incorrect-date-parsing-in-unique-note-prefix-format/78648/1 "2024-03-15T10:04:43Z")

</div>

## Bug Report: Incorrect Date Parsing in Unique Note Prefix Format

### Steps to Reproduce

1. Set the note prefix format to “💭 (YY.MM.DD)”.
  - ![Note Prefix Format Setting](https://forum.obsidian.md/uploads/default/original/3X/a/8/a847ed3bbcc6cadb70df9633e39b89315bdcdd64.png)

2. Use a hotkey (in this context, `cmd+U`) to create a unique note. The current date is March 15, 2024.
  - ![Creating a Unique Note](https://forum.obsidian.md/uploads/default/original/3X/3/6/367be51877c44958185ac3313e546daf864d96da.jpeg)

### Troubleshooting Attempted

- Followed the troubleshooting guide available at: [Obsidian Forum - Troubleshooting Guide](https://forum.obsidian.md/t/about-the-bug-reports-category/24/10)
- Troubleshooting Outcome: **Yes**

### Expected Behavior

- The note’s date prefix should be “24.03.15”, aligning with the specified format “💭 (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.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [March 20, 2024, 4:30pm UTC](https://forum.obsidian.md/t/incorrect-date-parsing-in-unique-note-prefix-format/78648/2 "2024-03-20T16:30:18Z")

</div>

Read this:

> **[Unique note creator - Obsidian Help](https://help.obsidian.md/Plugins/Unique+note+creator)**
>
> Unique note creator lets you create notes with time-based names, also known as Zettelkasten notes. For example, if you create a new note at 09:45 on Jan 1st, 2024, Unique note creator creates a note …

---

<div class="post-metadata">

**Author:** ![elsener](https://forum.obsidian.md/user_avatar/forum.obsidian.md/elsener/32/64294_2.png) [@elsener](https://forum.obsidian.md/u/elsener)\
**Post date:** [April 12, 2024, 1:03pm UTC](https://forum.obsidian.md/t/incorrect-date-parsing-in-unique-note-prefix-format/78648/3 "2024-04-12T13:03:42Z")

</div>

I have the exact same issue as the original poster. The prefix date is correct in the preview from the settings but wrong in the filename

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [April 12, 2024, 1:39pm UTC](https://forum.obsidian.md/t/incorrect-date-parsing-in-unique-note-prefix-format/78648/4 "2024-04-12T13:39:59Z")

</div>

Do you have a note in your vault with the same prefix?

Prefix time stamp is forced to be unique vault-wise.

---

<div class="post-metadata">

**Author:** ![elsener](https://forum.obsidian.md/user_avatar/forum.obsidian.md/elsener/32/64294_2.png) [@elsener](https://forum.obsidian.md/u/elsener)\
**Post date:** [April 12, 2024, 1:55pm UTC](https://forum.obsidian.md/t/incorrect-date-parsing-in-unique-note-prefix-format/78648/5 "2024-04-12T13:55:48Z")

</div>

Nope, I don’t have any note with the same prefix in my Vault

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [April 12, 2024, 2:02pm UTC](https://forum.obsidian.md/t/incorrect-date-parsing-in-unique-note-prefix-format/78648/6 "2024-04-12T14:02:52Z")

</div>

Ok, please, post a screen recording of what is happening

---

<div class="post-metadata">

**Author:** ![mars99](https://forum.obsidian.md/user_avatar/forum.obsidian.md/mars99/32/65374_2.png) [@mars99](https://forum.obsidian.md/u/mars99)\
**Post date:** [May 9, 2024, 5:55pm UTC](https://forum.obsidian.md/t/incorrect-date-parsing-in-unique-note-prefix-format/78648/7 "2024-05-09T17:55:58Z")

</div>

Hi, same problem as the OP.

My notes are in the format YYMMDDHHMM. It’s 05/09/24, 12:50 Central Time. I create a note and the prefix is 2405091805. When I make another note the same minute, the new note’s prefix is 2405091905. The one following that is 2405092005. This is creating a problem for my record-keeping.

I don’t see why a screen recording should be necessary; the OP already made very clear what the problem is and how to reproduce it.

Using v1.5.12 on Linux Mint 21.1.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [May 9, 2024, 6:11pm UTC](https://forum.obsidian.md/t/incorrect-date-parsing-in-unique-note-prefix-format/78648/8 "2024-05-09T18:11:27Z")

</div>

YYMMDDHHMM - think about this? MM?

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [August 7, 2024, 6:11pm UTC](https://forum.obsidian.md/t/incorrect-date-parsing-in-unique-note-prefix-format/78648/9 "2024-08-07T18:11:31Z")

</div>

Closed on August 7, 2024, 6:11pm UTC

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