dartungar / obsidian-simple-note-review

Simple, customizable plugin for easy note review, resurfacing & repetition in Obsidian.md.
MIT License
57 stars 2 forks source link

Review date is incorrect for some timezones #29

Closed ontrou closed 1 year ago

ontrou commented 1 year ago

How is the date in the Mark Note As Reviewed Today calculated? When I invoke it, it always sets a date one day in the future.

dartungar commented 1 year ago

@ontrou Today is always today. If it isn't, it's a bug! However, I can't reproduce it. What timezone are you in?

ontrou commented 1 year ago

PST time zone (UTC -8). It seems to happen only in the evening; during the day the reviewed date is correct. I also tested the plugin in a test vault and with all other plugins (except Dataview) deactiviated. Same issue.

dartungar commented 1 year ago

@ontrou this may happen because time is not adjusted for time zone (probably defaulting to GMT+0). Will look into it!

dartungar commented 1 year ago

@ontrou should be fixed in 0.6.2! JS sure is a weird language.