Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2021-05-11 19:10:46 +0300
committerJames M Snell <jasnell@gmail.com>2021-05-17 22:02:49 +0300
commit16cb4f720b43345c9ed34f4a67165e86fbba5b90 (patch)
tree04fdde70aa88178e21ecc71b4d60b0ed932c0255 /src/node_i18n.h
parent75340f3c524cbe8602ba8f5a48b8bf8572bad8f1 (diff)
lib: support setting process.env.TZ on windows
Fixes: https://github.com/nodejs/node/issues/4230 Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/38642 Reviewed-By: Steven R Loomis <srloomis@us.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'src/node_i18n.h')
-rw-r--r--src/node_i18n.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node_i18n.h b/src/node_i18n.h
index 22164e6647d..1e9f13ebc93 100644
--- a/src/node_i18n.h
+++ b/src/node_i18n.h
@@ -40,6 +40,8 @@ namespace i18n {
bool InitializeICUDirectory(const std::string& path);
+void SetDefaultTimeZone(const char* tzid);
+
enum idna_mode {
// Default mode for maximum compatibility.
IDNA_DEFAULT,