Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Incorrect settings for russian calendars
(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