commit - 1d7053d6b0ca752f59bfb4059699ae9154e2ddcd
commit + 8fe0cd3a6f849b803a9113fa3a2e06fad9f5315b
blob - fc218eff521a465dc36ca25aad4973aa104fbb4c
blob + 3954e49687822fe5189c01448be0183865291c02
--- regress/cmdline/log.sh
+++ regress/cmdline/log.sh
local commit_id2=`git_show_head $testroot/repo`
local author_time2=`git_show_author_time $testroot/repo`
- d=`date -u -r $author_time1 +"%G-%m-%d"`
+ d=`date -u -d "@${author_time1}" +"%G-%m-%d"`
printf "$d %-7s test oneline\n" master > $testroot/stdout.expected
- d=`date -u -r $author_time2 +"%G-%m-%d"`
+ d=`date -u -d "@${author_time2}" +"%G-%m-%d"`
printf "$d %.7s test oneline\n" $commit_id1 >> $testroot/stdout.expected
(cd $testroot/repo && got log -s | head -n 2 > $testroot/stdout)