On Thu, 12 May 2022, Simon (Vsevolod) Ilyushchenko wrote:
Can you assume DateTime is UTC with your particular files and use cases?
Yes, this is a good fallback option.
I am not sure about established precedence, but this is much better
than being a mere fallback option as long as the recipient knows it is
UTC. This could be handled via documentation.
Dealing with time zones is hard, and it assumes that both the writer
and the reader have knowledge of the current time zone, and access to
the time zone database necessary to do conversions.
It may still be necessary for the writer and reader do to something
special to produce and consume UTC timestamps.
Unix type systems (and those using NTP) have a system clock which is
on UTC time.
Bob
--
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt
_______________________________________________
Tiff mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/tiff