diff options
author | Yonghee Han <onstudy@samsung.com> | 2020-05-04 11:27:52 +0900 |
---|---|---|
committer | Yonghee Han <onstudy@samsung.com> | 2020-05-04 11:27:52 +0900 |
commit | 1f20ad09011407e1fd599dbe0ab31d71b4ad837a (patch) | |
tree | 116253fd339f2add60c4eb80c712675e7167913c | |
parent | be57d19ae0bd21f2de48dc3e54c1f78aa0013de7 (diff) | |
download | obs-server-2.7-1f20ad09011407e1fd599dbe0ab31d71b4ad837a.tar.gz obs-server-2.7-1f20ad09011407e1fd599dbe0ab31d71b4ad837a.tar.bz2 obs-server-2.7-1f20ad09011407e1fd599dbe0ab31d71b4ad837a.zip |
[backend] createrelease_debian: use utc instead of local time
Integration commit : 4679940daddc602834ab52fc1dccca96ee728979
git : open-build-service
Change-Id: I0c4ffe155f75c48591a79ef3a3dcf40c54420798
-rwxr-xr-x | src/backend/bs_publish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/bs_publish b/src/backend/bs_publish index 3a0413f..4be0b3f 100755 --- a/src/backend/bs_publish +++ b/src/backend/bs_publish @@ -668,8 +668,8 @@ sub createrelease_debian { my ($extrep, $projid, $repoid, $data, $options) = @_; my $obsname = $BSConfig::obsname || 'build.opensuse.org'; - my $date = POSIX::ctime(time()); - $date =~ s/\n//m; + my $date = POSIX::asctime(gmtime(time())); + chomp $date; my @debarchs = @{$data->{'repoinfo'}->{'arch'} || []}; for (@debarchs) { s/x86_64/amd64/g; |