Closed gcotelli closed 3 years ago
Fixes #30
I've updated the implementation to not save instances of Time and Date as DateAsTime. However this breaks backwards compatibility with existing databases at least for date fields (because the Time ones were not working)
These changes fix two Glorp integration tests (
GlorpTimeTest
andGlorpTimeWithTimeZoneTest
). Time instances are saved in the database asDateTime
(check#isDateAndTimeLike:
) so when we are reading it backTime fromString:
don't parse it correctly.