diff options
author | Wei-Yin Chen (陳威尹) <chen.weiyin@gmail.com> | 2011-12-19 16:11:05 +0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-02-21 21:37:31 +0000 |
commit | 6aa17fc69bce19bcd412cf4b950e797767c87012 (patch) | |
tree | 73094156a2ab25a0b7d434a417b1fdbbc7558053 /t/t1011-read-tree-sparse-checkout.sh | |
parent | git-svn: un-break "git svn rebase" when log.abbrevCommit=true (diff) | |
download | tgif-6aa17fc69bce19bcd412cf4b950e797767c87012.tar.xz |
git-svn: Fix time zone in --localtime
Use numerical form of time zone to replace alphabetic time zone
abbreviation generated by "%Z". "%Z" is not portable and contain
ambiguity for many areas. For example, CST could be "Central
Standard Time" (GMT-0600) and "China Standard Time" (GMT+0800).
Alphabetic time zone abbreviation is meant for human readability,
not for specifying a time zone for machines.
Failed case can be illustrated like this in linux shell:
> echo $TZ
Asia/Taipei
> date +%Z
CST
> env TZ=`date +%Z` date
Mon Dec 19 06:03:04 CST 2011
> date
Mon Dec 19 14:03:04 CST 2011
[ew: fixed bad package reference inside Git::SVN::Log]
Signed-off-by: Wei-Yin Chen (陳威尹) <chen.weiyin@gmail.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 't/t1011-read-tree-sparse-checkout.sh')
0 files changed, 0 insertions, 0 deletions