question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Possible Bug: Can not find timezone Northwest Time Border M�xico

See original GitHub issue
grass78\\Python37\\lib\\site-packages\\tzlocal\\win32.py\", line 79, in get_localzone_name
raise pytz.UnknownTimeZoneError('Can not find timezone ' + tzkeyname)
pytz.exceptions.UnknownTimeZoneError: 'Can not find timezone Northwest Time Border M�xico'"
"python: exited with code 1"

Not sure if this is an issue with the Windows installation reporting something strange, Python 3.7, or tzlocal not having this zone.

Looking at the IANA tzdata packages, this is indeed not a real Time Zone for Mexico, as IANA only identifies three zones:
Baja California Norte (the Mexico/BajaNorte TZ) Baja California Sur, Nayarit, Sinaloa and Sonora (the Mexico/BajaSur TZ) The rest of the country (the Mexico/General TZ)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
regebrocommented, Oct 3, 2021

No, I don’t think they have configured it like that, I think the control panel gets nonsense configuration and probably shows the first or the last entry in the list as a result. This increases the likelihood that setting it to the correct timezone will fix the problem.

1reaction
regebrocommented, Oct 2, 2021

Correct, the timezone “Northwest Time Border Mexico” doesn’t exist, and in fact Google can’t find that phrase anywhere. Try re-configuring your timezone in the control panel. I suspect they mean the “Tiempo del Noroeste” zone, which in zoneinfo terms is called “America/Tijuana”, and in Windows should be called “Pacific Standard Time (Mexico)”.

It’s the same as US pacific time, so if you want you can try choosing that timezone instead, and it should work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ohk Why tf Mexico has 4 time zones instead of just 2 - Reddit
A better question is, why should they only be in 2 time zones? Mexico spans East-west a pretty far ways. Yucatan lines up...
Read more >
Mexico Time Zones
Mexico time zones and current local times for all of Mexico including information about daylight saving time in Mexico and GMT in Mexico....
Read more >
If you can't change the time or time zone on your Apple device
To do this, go to Settings > Privacy & Security > Location Services > System Services and turn on Setting Time Zone. Check...
Read more >
Time zone - Wikipedia
A time zone is an area which observes a uniform standard time for legal, commercial and social purposes. Time zones tend to follow...
Read more >
Mexico ditched daylight saving time. It's a problem for border ...
For example, the state of Sonora will continue not to change its clocks because it prefers to be in the same time zone...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found