summaryrefslogtreecommitdiff
path: root/utils/genprimopcode
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2015-12-28 22:55:24 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2015-12-28 22:55:37 +0100
commitbab51097701aaf2d890196a351fd3614a66c79dd (patch)
treed14add3e30102009e21bf1ab227c8125557f977b /utils/genprimopcode
parent295085c3ad16a45f62e71936fe4aea34c708d2a5 (diff)
downloadhaskell-bab51097701aaf2d890196a351fd3614a66c79dd.tar.gz
Make git-committer inferred version-date TZ-invariant
The existing code suffers from the issue of converting the committer date to localtime, thereby resulting in varying inferred dates for the same commit-hash depending on the currently set local timezone. In order to have a universally unique mapping between commit-hashes and their snapshot-version-date it's better to convert to the date expressed in a fixed timezone like e.g. UTC. Sadly, `git` doesn't seem to provide a way to directly format dates the way we need it, so we shell out to `perl` for this. Reviewers: austin, thomie, erikd, bgamari Differential Revision: https://phabricator.haskell.org/D1711
Diffstat (limited to 'utils/genprimopcode')
0 files changed, 0 insertions, 0 deletions