uprv_tzname(int n) ignores "TZ" env var on Windows

Description

On other platforms, this function reads the "TZ" env var correctly. I'll be attaching a proposed patch.

Here are downstream tickets:
https://bugzilla.mozilla.org/show_bug.cgi?id=1333916
https://trac.torproject.org/projects/tor/ticket/20981

Activity

Show:
TracBot
June 30, 2018, 11:34 PM
Trac Comment 2 by —2017-04-12T18:12:16.413Z

I don't think ICU should start picking up an environment variable that's not otherwise used on Windows.

Use `TimeZone::setDefault(*TimeZone::getGMT())` to set ICU's default time zone ( api docs)

Assignee

Jeff Genovy

Reporter

TracBot

Components

Labels

None

Reviewer

None

Priority

assess

Time Needed

None

Fix versions

Configure