diff options
Diffstat (limited to 'sbosrcarch')
-rwxr-xr-x | sbosrcarch | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1707,7 +1707,7 @@ sub write_status_file { init_git(); #open my $fh, "git log --date=format:%Y%m%d --pretty=format:'%h %ci: %an, %s' -n1|" or die "$!"; - open my $fh, "TZ=UTC git log --date=format:%Y%m%d --pretty=format:'%h %ci: %an, %s' -n1|" or die "$!"; + open my $fh, "TZ=UTC git log --date=format-local:'%Y-%m-%d %H:%M:%S %Z' --pretty=format:'%h %cd: %an, %s' -n1" or die "$!"; my $logline = <$fh>; close $fh; @@ -1716,7 +1716,7 @@ sub write_status_file { open($fh, '>', "STATUS") or return; #chomp(my $timestamp = `date '+%Y-%m-%d %H:%M:%S %z'`); - chomp(my $timestamp = `TZ=UTC date '+%Y-%m-%d %H:%M:%S %z'`); + chomp(my $timestamp = `TZ=UTC date '+%Y-%m-%d %H:%M:%S %Z'`); print $fh <<EOF; Status report for sbosrcarch archive |