You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are working on nodejs version v12.21.0 with full icu and we are facing wrong timezone offset issue.
Our requirement is to get correct timezone offset using double symbolic link
For example, /etc/localtime -> /var/localtime -> /usr/share/zoneinfo/America/Guatemala
We are getting these values:
node
Welcome to Node.js v12.21.0.
Type ".help" for more information.
new Date().toString()
'Sat Apr 02 2022 02:16:12 GMT-0600 (Central Standard Time)'
As per our analysis there is some problem with "readlink" so it is not getting correct values.
Also we have compared this version with v8.12.0 there we are getting correct values (till v11.15.0 V8 version is "7.0.276.38" and for version v12.0.0 v8 version is "7.4.288.21").
Further analysis the entier architecture or flow of code is changed from v12.0.0.
In older v8.12.0 version we were getting values by triggering Calandar API and GregorianCalendar API using RUNTIME_FUNCTION (runtime-intl.cc), but this scenario doesn't worked from v12.0.0. Please provide your comments for resolve this issue.
Note:
In Putil.cpp, we observed both stdId & dstID mentioned as [CST & CDT] for america/guatemala. Also from the web we observed there is no daylight for Central America. But in the following array of strcutre, we observed the dstId also mentioned as CDT. Could you please calrify this;
There has been no activity on this issue for 11 months. The help repository works best when sustained engagement moves conversation forward. The issue will be closed in 1 month. If you are still experiencing this issue on the latest supported versions of Node.js, please leave a comment.
We are working on nodejs version v12.21.0 with full icu and we are facing wrong timezone offset issue.
Our requirement is to get correct timezone offset using double symbolic link
For example, /etc/localtime -> /var/localtime -> /usr/share/zoneinfo/America/Guatemala
We are getting these values:
node
Welcome to Node.js v12.21.0.
Type ".help" for more information.
expected output is:
As per our analysis there is some problem with "readlink" so it is not getting correct values.
Also we have compared this version with v8.12.0 there we are getting correct values (till v11.15.0 V8 version is "7.0.276.38" and for version v12.0.0 v8 version is "7.4.288.21").
Further analysis the entier architecture or flow of code is changed from v12.0.0.
In older v8.12.0 version we were getting values by triggering Calandar API and GregorianCalendar API using RUNTIME_FUNCTION (runtime-intl.cc), but this scenario doesn't worked from v12.0.0. Please provide your comments for resolve this issue.
Note:
In Putil.cpp, we observed both stdId & dstID mentioned as [CST & CDT] for america/guatemala. Also from the web we observed there is no daylight for Central America. But in the following array of strcutre, we observed the dstId also mentioned as CDT. Could you please calrify this;
static const struct OffsetZoneMapping OFFSET_ZONE_MAPPINGS[] = {
{21600, 0, "CST", "CDT", "America/Guatemala"},
}
Browser detail:
Time Zone in Guatemala
Guatemala observes Central Standard Time all year. There are no Daylight Saving Time clock changes.
The text was updated successfully, but these errors were encountered: