1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-07 21:58:41 +02: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

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):