[tz] [PATCH] Introduce Epoch offset and local time Epoch

Guy Harris guy at alum.mit.edu
Sat Oct 22 01:00:47 UTC 2016

On Oct 21, 2016, at 5:32 PM, Paul Eggert <eggert at cs.ucla.edu> wrote:

> Thanks, how about the attached patch instead? It lets you specify an arbitrary gmtime offset instead of hardwiring it for the Amiga. You should be able to build it on the Amiga with something like "make CFLAGS='-DEPOCH_LOCAL -DEPOCH_OFFSET=252460800'".

So what is the purpose of time() in tzcode?  Presumably it serves *some* purpose on UN*X or other OSes that supply the UN*X time() API.  Should there be a comment explaining what purpose it serves on OSes that have a UN*X-compatible time() API and indicating that it can be used on OSes that don't and how it should be used.

More information about the tz mailing list