fixed birthday offset in EAS

pull/69/merge
Ludovic Marcotte 2015-01-12 08:40:06 -05:00
parent 28e449b050
commit 70e45f7843
2 changed files with 3 additions and 1 deletions

View File

@ -33,6 +33,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#import <Foundation/NSCalendarDate.h> #import <Foundation/NSCalendarDate.h>
#import <Foundation/NSDictionary.h> #import <Foundation/NSDictionary.h>
#import <Foundation/NSString.h> #import <Foundation/NSString.h>
#import <Foundation/NSTimeZone.h>
#import <NGExtensions/NSString+misc.h> #import <NGExtensions/NSString+misc.h>
@ -230,7 +231,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
if ((o = [theValues objectForKey: @"Birthday"])) if ((o = [theValues objectForKey: @"Birthday"]))
{ {
o = [o calendarDate]; o = [o calendarDate];
[self setBday: [o descriptionWithCalendarFormat: @"%Y-%m-%d"]]; [self setBday: [o descriptionWithCalendarFormat: @"%Y-%m-%d" timeZone: nil locale: nil]];
} }
// //

1
NEWS
View File

@ -9,6 +9,7 @@ Bug fixes
- check for resources existence when listing subscribed ones (#3054) - check for resources existence when listing subscribed ones (#3054)
- correctly recognize Apple Calendar on Yosemite (#2960) - correctly recognize Apple Calendar on Yosemite (#2960)
- fixed two potential autorelease pool leak (#3026 and #3051) - fixed two potential autorelease pool leak (#3026 and #3051)
- fixed birthday offset in EAS
2.2.13 (2014-12-30) 2.2.13 (2014-12-30)
------------------- -------------------