-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
Add version info: CLDR, Unicode, Timezone #9237
Copy link
Copy link
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.i18n-apiIssues and PRs related to the i18n implementation.Issues and PRs related to the i18n implementation.
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.i18n-apiIssues and PRs related to the i18n implementation.Issues and PRs related to the i18n implementation.
It could be handy to have some additional ICU version information available, besides just the
icuversion itself. since the ICU features have more and more applicability to various parts of Node.These could go into
process.versions, or not.Note that for the CLDR and TimeZone version, we actually need to read data files to get the answer. So, I'd hesitate to just stuff constants into
process.versions. Is there a way to lazily-initialize a constant?Unicode Data Version
This gives information about which Unicode Version is included. This would affect which characters are interpreted by regexes, etc.
Implementation:
u_getUnicodeVersion()(doesn't actually read any data files to get the result)CLDR Version
This is the version of the CLDR data files used for ICU's implementation.
Time Zone Data Version
This is the version of the iana tz database.
cc: @nodejs/intl