You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql-timestamp now fails on trying to convert a long to an integer:
e.g. (time/sql-timestamp 1498582624546) results in Value out of range for int: 1498582624546
In a previous version, 0.2.2, the expected behavior for longs was in place, but it was lost when I upgrade to 0.3.0. The actual regression may have been introduced in an earlier version, that is just the version I upgraded to as it is presently the latest release.
The text was updated successfully, but these errors were encountered:
Be aware that sql-timestamp uses java.sql.Timestamp/valueOf which will use the default timezone of the JVM to remove the offset, hence the (j/zone-id) above.
I'll think on how to allow going from Instant -> sql.Timestamp.
EDIT: mentioned the breaking change in the CHANGELOG
sql-timestamp
now fails on trying to convert a long to an integer:e.g.
(time/sql-timestamp 1498582624546)
results inValue out of range for int: 1498582624546
In a previous version, 0.2.2, the expected behavior for longs was in place, but it was lost when I upgrade to 0.3.0. The actual regression may have been introduced in an earlier version, that is just the version I upgraded to as it is presently the latest release.
The text was updated successfully, but these errors were encountered: