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

This commit is contained in:
smizrahi
2023-05-15 20:07:11 +02:00
parent 9c7ef089c2
commit 158a5becc9

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"];
}
}