diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-02-10 23:01:08 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-02-11 14:54:28 -0800 |
commit | 3c4a58bad03ef56ae9c82b7e7a6ae027514e2bd6 (patch) | |
tree | 9a071c2168938bf33f4002d6af523d090d63ef96 /test/command/4860.md | |
parent | acc9afaf6f6afa14cbe7cd06798275728e78a529 (diff) | |
download | pandoc-3c4a58bad03ef56ae9c82b7e7a6ae027514e2bd6.tar.gz |
T.P.Class: Add getTimestamp [API change].
This attempts to read the SOURCE_DATE_EPOCH environment variable
and parse a UTC time from it (treating it as a unix date stamp,
see https://reproducible-builds.org/specs/source-date-epoch/).
If the variable is not set or can't be parsed as a unix date
stamp, then the function returns the current date.
Diffstat (limited to 'test/command/4860.md')
0 files changed, 0 insertions, 0 deletions