Enrique J. Hernández Blasco
|
b04b66fd79
|
Use UTC offset to encode NSCalendarDate in BSON
Using name abbreviation in Objective-C is discouraged
as it stated in the following link:
https://developer.apple.com/library/prerelease/ios/documentation/Cocoa/Reference/Foundation/Classes/NSTimeZone_Class/index.html#//apple_ref/occ/clm/NSTimeZone/timeZoneWithAbbreviation:
Indeed, the GNUStep library is generating the name
abbreviation using the system tzdata information
but parsing this data using GNUStep resources making
changes like this:
http://mm.icann.org/pipermail/tz-announce/2014-August/000023.html
Not working until GNUStep reaches these tzdata changes.
Using the UTC offset we are losing the position in planet
Earth but it could be considered valid looking at other
bson implementations.
|
2015-05-26 21:42:57 +02:00 |
|