1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

Merge pull request #621 from lethliel/fix_#617_regression_in_deleterequest

make now() UTC aware for accept-in-hours
This commit is contained in:
Marco Strigl 2019-09-18 16:57:56 +02:00 committed by GitHub
commit e7e91709ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2860,7 +2860,7 @@ class Request:
now = datetime.datetime.utcnow()
now = now + datetime.timedelta(hours=hours)
self.accept_at = now.isoformat()
self.accept_at = now.isoformat() + '+00:00'
@staticmethod
def format_review(review, show_srcupdate=False):