emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list arg


From: Paul Eggert
Subject: Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones
Date: Wed, 20 Apr 2022 11:29:01 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

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

[Prev in Thread] Current Thread [Next in Thread]