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:
commit
e7e91709ef
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user