Date returns incorrect value for dates < 1/1/1970
bfagan opened this issue · comments
Brian Fagan commented
If you set a date that's earlier than Jan 1, 1970 (negative timestamp) then the output will be the wrong date (typically a negative year).
Enforce schema on JavaScript objects, including type, transformation, and validation. Supports extends, sub-schemas, and arrays.
bfagan opened this issue · comments
If you set a date that's earlier than Jan 1, 1970 (negative timestamp) then the output will be the wrong date (typically a negative year).