Closed sambacha closed 1 year ago
It is important that the interpretation of time names and seconds since the Epoch values be consistent across conforming systems. That is, it is important that all conforming systems interpret " 536457599 seconds since the Epoch" as 59 seconds, 59 minutes, 23 hours 31 December 1986 , regardless of the accuracy ~ IEEE Std 1003.1-19881
this just means 536457599 seconds since the Epoch == 59 seconds, 59 minutes, 23 hours 31 December 1986 so not related to SOURCE_DATE_EPOCH. We're not interpreting epoch values
SOURCE_DATE_EPOCH
IEEE Std 1003.1-1988 (POSIX.1) legislates that a
time_t
value of536457599
SHALL correspond to "Wed Dec 31 23:59:59 GMT 1986."https://github.com/NixOS/nixpkgs/blob/9fa6434de950a688b190694b5635fc2cd0c73dbc/pkgs/stdenv/generic/setup.sh#L407
[^1]: Federal Information Processing Standards Publication: IEEE standard portable operating system interface for computer environments
Suggestion
Other examples
Bazel^2
NPM^3
Debian Packaging^4
'2017-05-08T00:00:00Z' stretch