fix(calendar): Fix Out of range value for column 'c_startdate' SQL error

This commit is contained in:
smizrahi committed 2023-05-15 20:07:34 +02:00
1 parent 9c7ef089c2
commit 158a5becc9
1 file changed
+1 -1
+1 -1
View File
@@ -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"];
}
}