(feat) added date picker in contact editor + now handle correctly birthday

This commit is contained in:
Ludovic Marcotte
2015-08-20 10:29:47 -04:00
parent da81f7bc58
commit 65525dd33b
6 changed files with 48 additions and 14 deletions
+3 -4
View File
@@ -838,11 +838,10 @@
o = [card birthday];
if (o)
{
NSNumber *time = [NSNumber numberWithInt: [o timeIntervalSince1970]];
[data setObject: time forKey: @"birthday"];
[data setObject: [NSNumber numberWithInt: [o timeIntervalSince1970]]
forKey: @"birthday"];
}
// o = [card source];
// if (o) [data setObject: o forKey: @"source"];
o = [card tz];
if (o) [data setObject: o forKey: @"tz"];