-
-
Notifications
You must be signed in to change notification settings - Fork 37.2k
Add version info: CLDR, Unicode, Timezone #9237
Copy link
Copy link
Closed
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.i18n-apiIssues and PRs related to Node.js internationalization support.Issues and PRs related to Node.js internationalization support.
Description
Activity
Metadata
Metadata
Assignees
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.i18n-apiIssues and PRs related to Node.js internationalization support.Issues and PRs related to Node.js internationalization support.
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