aboutsummaryrefslogtreecommitdiff
path: root/sbosrcarch
diff options
context:
space:
mode:
Diffstat (limited to 'sbosrcarch')
-rwxr-xr-xsbosrcarch4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbosrcarch b/sbosrcarch
index 619e161..aaab775 100755
--- a/sbosrcarch
+++ b/sbosrcarch
@@ -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