Timezone America/Ciudad_Juarez not found in moment-timezone
Zoneinfo.js
var val = Object.values(moment.tz._zones).some(function (x) { return typeof x !== 'string' && x.name === timeZoneId ;});
apparently, for this timeZoneId, we are getting different names, we are getting the following error.
Error: Timezone America/Ciudad_Juarez not found in moment-timezone.
How exactly are you reproducing this?
Ubuntu version: Ubuntu 22.04.1 LTS
this occours when we run the following command
./node_modules/inter/bin/buildInter \
--type browser \
--territories \
--countries \
--regions \
--currencies \
--dateformats \
--daynames \
--pluralrules \
--numbers \
--numbersystems latn \
--locales ${COMMON_TARGET_LOCALES} \
-o $@
COMMON_TARGET_LOCALES = da,de,en_gb,en_us,es,fi,fr,it,nb,nl,pt,sv
Hmm, that seems to work fine for me, although I'm running Ubuntu 22.10.
What does your /usr/share/zoneinfo/zone.tab look like?
https://cl1p.net/zonetab
Kindly refer the above link. it has the contents of zone.tab
Hmm, I tried overwriting my own /usr/share/zoneinfo/zone.tab with that, but I still cannot reproduce the error :thinking: