objective c - Issue with Caracas time zone in iOS -
i testing different time zones utc offsets in application. , code working timezones. have issue caracas.
code shows utc offset.
nsdateformatter *dateformatter = [[nsdateformatter alloc] init];  nslocale *enusposixlocale = [nslocale localewithlocaleidentifier:@"en_us_posix"]; [dateformatter setlocale:enusposixlocale];  //this nsdateformatter return timezone in format "utc+xx:xx" [dateformatter setdateformat:@"'utc'xxxxx"];  nsstring *formattedtimezone = [dateformatter stringfromdate:[nsdate date]];  return formattedtimezone;   in ukraine receive utc+03:00 , correct. in caracas receive utc-04:00 real offset utc-04:30.
question why missing -30 minutes in caracas?
this not programming problem, caracas(venezuela) timezone has changed recently.
utc-04:00 correct right now.
presidents of venezuela had changed couple of times:
- utc-04:30 used since 2007.
 - it changed again utc-04:00.
 
Comments
Post a Comment