Giter Site home page Giter Site logo

Comments (7)

mexchip avatar mexchip commented on September 21, 2024 2

The minimum required version for the America/Mexico_City DST update is 0.5.39.

from moment-timezone.

gilmoreorless avatar gilmoreorless commented on September 21, 2024 1

On April 2nd, the "America/Monterrey" timezone shifted from UTC-6 to UTC-5

Last year, Mexico got rid of daylight saving time in most (but not all) states/regions. https://www.timeanddate.com/news/time/mexico-abolishes-dst-2022.html
Only some of the towns right on the border with USA will continue with DST. Monterrey is not one of those towns, so it is on UTC-6 all year round: https://www.timeanddate.com/time/change/mexico/monterrey
Therefore, this code is correct.

from moment-timezone.

aldinicontini avatar aldinicontini commented on September 21, 2024

Yes, same issue

from moment-timezone.

mauricio-testa avatar mauricio-testa commented on September 21, 2024

Mexico time is also wrong
image

from moment-timezone.

gilmoreorless avatar gilmoreorless commented on September 21, 2024

@mauricio-testa That screenshot doesn't really tell me anything. You could be running a completely different version of moment-timezone from the opening post in this issue — one that's older and doesn't have the updated zone rules. Running that same code in the console on https://momentjs.com gives the correct offset of -06:00.

from moment-timezone.

AlejandroAlt avatar AlejandroAlt commented on September 21, 2024

@perlucas did you solve it? I have a similar problem with America/Mexico_City.

from moment-timezone.

BilalTariq01 avatar BilalTariq01 commented on September 21, 2024

@AlejandroAlt Latest release (0.5.43) has updated America/Mexico_City timezone

from moment-timezone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.