mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-05 02:56:17 +01:00
append '+00:00' to now.isoformat() to satify api
just append '+00:00' so that the api calculates the correct accept time based on UTC
This commit is contained in:
parent
1e4e7edad5
commit
ced4ac6506
@ -2860,7 +2860,7 @@ class Request:
|
|||||||
|
|
||||||
now = datetime.datetime.utcnow()
|
now = datetime.datetime.utcnow()
|
||||||
now = now + datetime.timedelta(hours=hours)
|
now = now + datetime.timedelta(hours=hours)
|
||||||
self.accept_at = now.isoformat()
|
self.accept_at = now.isoformat() + '+00:00'
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def format_review(review, show_srcupdate=False):
|
def format_review(review, show_srcupdate=False):
|
||||||
|
Loading…
Reference in New Issue
Block a user