diff options
author | B. Watson <yalhcru@gmail.com> | 2018-06-25 18:05:27 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2018-06-25 18:05:27 -0400 |
commit | 0779c6bfa40cb39361c47f019962571ad6eb5a33 (patch) | |
tree | 5c604070fa1126a34f7bcdd69988caa9a0afc646 /sbosrcarch | |
parent | 2813c60ecd3f434198422cd37df9fc44ca8b2c6d (diff) | |
download | sbostuff-0779c6bfa40cb39361c47f019962571ad6eb5a33.tar.gz |
sbosrcarch: STATUS timestamps again
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 |