[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Timezones revisited
From: |
Eric Abrahamsen |
Subject: |
Re: [O] Timezones revisited |
Date: |
Wed, 01 Feb 2017 09:33:47 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Russell Adams <address@hidden> writes:
> On Wed, Feb 01, 2017 at 11:14:15AM -0500, Peter Neilson wrote:
>> On Wed, 01 Feb 2017 10:50:24 -0500, Eric Abrahamsen
>> Presumably everyone already knows that the timezones are more complicated
>> than hoi polloi believe? The offsets are not always integer values of
>> hours. For example, Newfoundland time is UTC−03:30. Additional
>> complications include daylight saving time and the many historical
>> versions of timezones. The definition of UTC can remain pretty much
>> constant, but local-timezone time varies as a function of both location
>> and calendar date.
>
> Emacs has a timezone conversion function, which I assume pulls from
> the tz info database like all the other system commands.
>
> Local time zone should be the system time zone or one defined as a
> per-buffer variable.
Right, we'd be doing all our calculations based on the car of
`current-time-zone' (or the converted equivalent). I think that would
get us as close to "correct" as possible, and necessary.
Eric