Skip to content

Commit 18efbd6

Browse files
committed
CoreFoundation: add US/Pacific TimeZone mapping for Windows
Windows does not have the same timezone information available as the other platforms. We import a subset of the CLDR (due to duplicate mappings) into Foundation to provide the translation. `TestCalendar/test_nextDate` usees `US/Pacific` for a test case. Explicitly add this to the Olson -> Windows mapping. We cannot provide a Windows -> Olson mapping entry for this value as that would have multiple values for the canonical `America/Los_Angeles` key. This repairs the `TestCalendar/test_nextDate` test case on Windows.
1 parent 0e4e031 commit 18efbd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CoreFoundation/OlsonWindowsMapping.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,5 +734,7 @@
734734
<string>Line Islands Standard Time</string>
735735
<key>Etc/GMT-14</key>
736736
<string>Line Islands Standard Time</string>
737+
<key>US/Pacific</key>
738+
<string>Pacific Standard Time</string>
737739
</dict>
738740
</plist>

0 commit comments

Comments
 (0)