Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

87
Vistas
What are all the available IANA time zones in Canada?

I'd like to be able to tell if a user is in Canada and show an English-French language toggle for those users. So I've decided to use the Intl.DateTimeformat.resolvedOptions approach. It's pretty straightforward, if the user's system is says it's in a Canadian time-zone, then I want to respect that and assume they want to see this Canadian option. You can see a working demo below:

const obj = Intl.DateTimeFormat().resolvedOptions();
console.log("Locale: ", obj.locale);
console.log("TimeZone: ", obj.timeZone);

I've asked some friends to test it, and so far I've got 2 timeZones

  • America/Toronto
  • America/Vancouver

but I need to cover all the Canadian options. I've looked at the ECMA internationalization API and IANA TimeZone Database but I cannot find what I'm looking for because their documentation is too vast. What are all the possible Canadian timezones that I could get from this specification?

about 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda