On Freitag, 16. Jänner 2026 16:15:59 Ostindonesische Zeit Benjamin via 
subsurface wrote:

> Some of us live in countries where the DST transition changes every year
> for "reasons", and then you get the lovely corner case of needing to keep
> these historical changes, so that you can see when exactly you are adding
> or subtracting that rather useless extra hour to your date/time.

I don't see the problem. You just save GMT+x at the time of the dive. That's 
precisely what my old dive computer stored.

It appears to be a bit of a project, but I don't see the fundamental problem 
in adding a "std::optional<int> gmt" field to struct dive. An unset value 
means "don't know" a value in the range -12 -> +14 gives a known offset. One 
obviously has to think about the semantics of the time when the field is set.

Berthold

_______________________________________________
subsurface mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to