Deserializing a date with a negative timestamp (dates before 1970-01-01) caused rejection due to a combination of bad isInteger checking and an unneeded greater than zero check.
I checked and Firefox, Chrome, nor Node seem to have a problem with creating dates from timestamps with decimal places. This means that the isInteger check is not necessarily needed. I don't have a preference towards keeping it or not keeping it.
Deserializing a date with a negative timestamp (dates before 1970-01-01) caused rejection due to a combination of bad
isInteger
checking and an unneeded greater than zero check.I checked and Firefox, Chrome, nor Node seem to have a problem with creating dates from timestamps with decimal places. This means that the
isInteger
check is not necessarily needed. I don't have a preference towards keeping it or not keeping it.