[tz] [EXTERNAL] Re: Mexico timezones

Jon Skeet skeet at pobox.com
Mon Apr 10 17:43:00 UTC 2023


On Mon, 10 Apr 2023 at 18:40, Var Nazari <varaga.nazari at vevo.com> wrote:

> I'm using the latest version of the moment-timezone library which claims
> to be using the 2023c version of the tzdb.  When I look through the
> source code, there's a JSON file which seems to have the timezone
> definitions. Here's what I see for Mexico City for example. It looks like
> CDT is in there.
>

Well yes, I'd expect that - because it *has* used CDT in the past. The time
zone database isn't purely about the future.


> When I use this library and try to simulate Mexico City in my browser it
> displays CDT where I expect to see CST.
>

Please show us that code so we can reproduce it. For example, you might be
displaying an old date where CDT was in use.

Jon

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20230410/48e68efb/attachment.htm>


More information about the tz mailing list