beaussan / update-time-on-edit-obsidian

MIT License
165 stars 15 forks source link

Gets wrong created date #22

Closed skorphil closed 1 year ago

skorphil commented 2 years ago

The plugin writes down an edited date instead of a created date on mac os

I do believe it is because different OSs use different methods to get created date.

For a temporary workaround, I made a script to add created date to the frontmatter https://github.com/skorphil/meta_to_frontmatter

timkgh commented 2 years ago

For me on macOS it keeps updating created date even if it already exists, and it keeps setting it back in time. There's a bug here, I had to turn off adding "Created at" if it doesn't exist. It shouldn't touch created if it's already set.

beaussan commented 1 year ago

Hi, sorry for the delay. This should now be fixed as of 2.0.0. If that's still an issue, feel free to re open a new issue !