mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-05 20:58:42 +02: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:
@@ -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):
|
||||
|
Reference in New Issue
Block a user