2 ms·
It's not clear how it detects which type you've passed, but this is pretty unexpected: https://api.epoch.sh/-100 https://api.epoch.sh/-100 `{"local":"0099-12-
by eyelidlessness 9y ago
It's not clear how it detects which type you've passed, but this is pretty unexpected:
https://api.epoch.sh/-100 https://api.epoch.sh/-100
`{"local":"0099-12-31T16:00:00-08:00","unix":-59011459200,"utc":"0100-01-01T00:00:00Z"}`
This too:
https://api.epoch.sh/8675309 https://api.epoch.sh/8675309
`{"local":"8675-11-04T16:00:00-08:00","unix":211615977600,"utc":"8675-11-05T00:00:00Z"}`
- Prefinem 9y agoThis should be fixed now. As others pointed out, had some bad validation
- eyelidlessness 9y agoWhy is `-100` invalid?
- Prefinem 9y agoYou know, I have no idea why I even checked for < 0 since it's seconds backwards since epoch. Just a mental snag I guess