moment-timezone icon indicating copy to clipboard operation
moment-timezone copied to clipboard

added US/Pacific-New zone

Open kirankumar2865 opened this issue 3 years ago • 1 comments

since it's used by so many customers and moment-timezone can't convert it.

kirankumar2865 avatar Jun 17 '21 05:06 kirankumar2865

The data used by Moment Timezone comes from the IANA time zone database and is re-compiled for each database release. The US/Pacific-New identifier was a long-deprecated link that was removed from the tzdb in release 2018a:

The default installation procedure no longer creates the backward-compatibility link US/Pacific-New, which causes confusion during user setup (e.g., see Debian bug 815200). Use 'make BACKWARD="backward pacificnew"' to create the link anyway, for now. Eventually we plan to remove the link entirely.

If you have many customers using that identifier, they should be encouraged (or forced) to use something else. US/Pacific-New was intended to represent daylight saving rules that were never actually made into law (reference).

Additionally, this PR only updates data/packed/latest.json. This is a file that's auto-generated by the build process. So the next data release will completely erase this change.

gilmoreorless avatar Jul 10 '21 13:07 gilmoreorless

Yep, no-go, thanks @gilmoreorless

ichernev avatar Aug 28 '22 06:08 ichernev