mingo-app / mingo

Found a bug? have a FR ?
59 stars 3 forks source link

The date time shown for Mexico City Locale is wrong. Legislation changed last year #550

Closed mogarick closed 1 year ago

mogarick commented 1 year ago

Describe the bug The date time shown for Mexico City Locale is wrong. It should be UTC-6 but Mingo is showing it as UTC-5. DST legislation changed last year. So There's no more DST for Mexico. Hour time is now UTC-6 for all year. Mongo Compass is showing it correctly.

Screenshots Correct Dates @ Mongo compass (UTC-6)

image

Incorrect Dates @ mingo (UTC -5)

image

Desktop (please complete the following information):

tothradoslav commented 1 year ago

We have updated node.js to the latest version, which is responsible for handling timezones. We also updated dayjs, which we use internally for formatting dates. It is quite difficult to test it properly since we are in a different timezone.

It still shows UTC-5 for me, but this could be wrong due to my timezone. I will include these changes in the next release. Could you please let me know if it worked? (I will let you know here that the release is out).

tothradoslav commented 1 year ago

Hi, this has been included in the latest release v1.12.1:

https://github.com/mingo-app/mingo/releases/tag/v1.12.1

I'm closing this issue, but please let us know if it worked right.

mogarick commented 1 year ago

Thank you! It's working fine now. UTC-6 for This year and month, UTC-5 for last year. and same month. :D