On 4/20/22 08:07, Max Nikulin wrote:

I have not checked if mktime is a part of POSIX and C standard.
mktime is part of both the C standard and POSIX. POSIX extends the C standard by saying that time_t is an integer type (the C standard allows time_t to be a floating-point type) and that time_t counts non-leap seconds since the Epoch (the C standard doesn't say what time_t counts, thought it implies that it counts seconds from some origin, which may not be 1970).
I still believe that optional DST and ZONE values is an improvement of the `encode-time' interface with no real drawbacks.

Yes, that's the direction we're headed.

Reply via email to