3 ms·
The format Git uses determines the range of dates it can store. If it uses the normal Unix epoch system 0 means 1-1-1970 so you can’t represent dates before tha
by tinus_hn 8y ago
The format Git uses determines the range of dates it can store. If it uses the normal Unix epoch system 0 means 1-1-1970 so you can’t represent dates before that.
- theclaw 8y agoI thought unix time was a signed integer, so you can go negative all the way back to 1901: $ perl -e 'print gmtime(-2147483648).""' Fri Dec 13 20:45:52 1901
- rusk 8y agoIt’s more a formality I think. Since recording of atomic time started in the early 1970s it’s accepted that an atomic second is an actual second back as far as 1970. No assertion of accuracy is made beyond that. Of course otherwise you can negative offset as much as you like beyond that but because of physics and stuff it can’t be treated with the same level of certainty or something.