mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-17 07:33:57 +00:00
fix(calendar): Fix Out of range value for column 'c_startdate' SQL error
This commit is contained in:
@@ -1147,7 +1147,7 @@ andAttribute: (EOAttribute *)_attribute
|
||||
if ([theComponent respondsToSelector:@selector(startDate)]) {
|
||||
startDate = [theComponent startDate];
|
||||
if (startDate) {
|
||||
[quickRow setObject:[NSNumber numberWithUnsignedInt:[startDate timeIntervalSince1970]] forKey:@"c_startdate"];
|
||||
[quickRow setObject:[NSNumber numberWithInt:[startDate timeIntervalSince1970]] forKey:@"c_startdate"];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user