obsidian-mood-tracker icon indicating copy to clipboard operation
obsidian-mood-tracker copied to clipboard

Bug with timezones for entries around midnight

Open enrico3 opened this issue 1 year ago • 2 comments

Hi,

I added an entry at 2024-06-03 1:37 am. My timezone offset is +2: grafik

The graph in Obsidian shows this entry for 2024-06-02 and does not show the details below: grafik

If I change the timestamp to say 3:37am then it works: grafik grafik

Cheers!

enrico3 avatar Jun 03 '24 16:06 enrico3

@enrico3 this has to do with ChartJS date handling. I haven't found a good solution yet; for now, you might want to work around that by adjusting time of logging (hopefully this won't be a big issue since the problem only occurs after the midnight...).

dartungar avatar Jun 08 '24 12:06 dartungar

@dartungar Yeah for me it's not a problem. I just wanted to let you know. Thank you for the info!

enrico3 avatar Jun 08 '24 20:06 enrico3