Closed 0xC0FFEEC0DE closed 5 months ago
Date/time can be fiddly!
Example situations:
(1) Being a busy person, I regularly forget to have lunch. Therefore, I set a regular ToDo Task for lunch. If I fly to a different time zone, what should happen? (2) I have medication which my doctor says I have to take every 8 hours. If I fly to a different time zone, what should happen?
I think Microsoft Outlook gets around this problem by having a configuration which allows a Time Zone to be set for each task (i.e. tasks can have different Time Zone). I think internally, date/time is stored as UTC but presented to the user in the local time zone.
Having said that, allowing setting Time Zone on a Task does not really sort out (1)!
Oh yeah, and both situations should also really handle Daylight Savings.... Storing date/time in UTC makes handling Daylight Savings easier from a coding point of view.
Hi @CrateDepth , thanks for your input. I had similar thoughts while looking at issue #97. I think your post fits better to #97 than this issue. What I thought at this issue is the string format of date and time. For me in Germany its fine that it looks like "12.05.2024 16:47". But thats how it gets shown to everyone. But for people in e.g. USA or GB it should look like "2024.05.12 4:47 pm".
0d7d20c fixed this bug.
Different locales have different formats for date and time. The app should format date and time depending on the current locale.