Created
November 25, 2013 10:04
-
-
Save dodikk/7639112 to your computer and use it in GitHub Desktop.
Incorrect settings for russian calendars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(lldb) po date_ | |
2010-12-27 00:00:00 +0000 | |
(lldb) po result | |
W1 2011 | |
(lldb) po [[formatter_ locale]localeIdentifier] | |
ru_RU | |
(lldb) po [ calendar_ calendarIdentifier ] | |
gregorian | |
(lldb) po [[ calendar_ locale ] localeIdentifier] | |
ru_RU | |
(lldb) p [ calendar_ firstWeekday ] | |
(unsigned int) $5 = 2 | |
(lldb) p [ calendar_ minimumDaysInFirstWeek ] | |
(unsigned int) $6 = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment