This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: testsuite ltime_gmtime tweak
On Jul 30 2010, Paul Koning wrote:
%15 would be sufficient if you only need to worry about currently
existing timezones. If you want historic ones as well then life gets much
weirder. There are some 20 minute offsets as recently as 1951, for
example.
I think that, like solar time, that can be ignored. I am not absolutely
sure, but I think that I have lived in a country with no official time.
I am certain that nobody actually used an official time if it had one,
because there were no railways, and telephone calls had to be booked
days ahead of time and were seriously unreliable. Even from the few
places that HAD telephones!
Assuming time zones that are a multiple of 15 minutes covers as many
cases as are worth attempting to cover.
Regards,
Nick Maclaren.