Hello, I use Tropy to tag and organise photos, and I am having trouble making sense of how to work with timezones. I have read this discussion from 2019 and Iβm a bit confused. I appreciate that timezones are the bane of developers, so do forgive me.
I am using version 1.17.3 (x64) installed via Flatpak on Linux Mint 22.2
My local timezone is UTC+10, so if I enter 2026-10-14T00:00+00:00 (or 2026-10-14T00:00Z), then it displays as Oct 14, 2026, 10:00 AM. If I change my timezone to UTC+2 and then restart Tropy, it changes to display as Oct 14, 2026, 2:00 AM. I believe this is correct.
However, when it comes to timezones other than UTC, I am either misunderstanding how to read these timestamps, or Tropy is doing something wrong with handling them.
If I am back on my home UTC+10, and I enter 2026-10-14T02:00+02:00, it displays as Oct 14, 2026, 2:00 PM; or if I enter 2026-10-14T10:00+10:00, it displays as Oct 15, 2026, 6:00 AM. I would believe they should both display as Oct 14, 2026, 10am as well, since they are the same time as 2026-10-14T00:00+00:00 (see attached photo).
Another way I have tried to make sense of this is to copy and paste the ISO 8601 timestamps on the Wikipedia page. At time of writing, the three times shown are 2026-10-13T16:18:49-12:00, 2026-10-14T04:18:49+00:00, and 2026-10-14T16:18:49+12:00. My understanding is that these are all the same time, and should all display as Oct 14, 2026, 2:18 PM. However, when copying these times into Tropy, only the +00:00 timestamp displays as Oct 14, 2026, 2:18 PM. 2026-10-13T16:18:49-12:00 displays as Oct 13, 2026, 2:18 PM; and 2026-10-13T16:18:49-12:00 displays as Oct 15, 2026, 2:18 PM.
I feel like Tropy is going the wrong direction with the timezones. The +00:00 timezone displays 10 hours later than the specified time, because I am UTC+10. The +12:00 timezone displays +22 hours than the specified time, but I think it should display -2 hours instead. Similarly, the -12:00 timezone displays -2 hours than the specified time, but I think it should display +22 hours the specified time.
If I flip the +/- signs in the first example, for instance (i.e. -02:00 instead of +02:00), they all appear as Oct 14, 2026, 10:00 AM as I would expect them to.
The description on the Wikipedia page also supports my understanding of Tropy handling this back to front.
A negative UTC offset describes a time zone west of the prime meridian where the civil time is behind UTC. So the zone designation for New York (on standard time) would be ββ05:00β, ββ0500β, or ββ05β. Conversely, a positive UTC offset describes a time zone east of the prime meridian where the civil time is ahead of UTC. So the zone designation for Cairo will be β+02:00β, β+0200β, or β+02β.
Thank you for your time to read this
