From ced4ac6506e39ee4a0dec266bdcd6d2b5e78ac13 Mon Sep 17 00:00:00 2001 From: lethliel Date: Wed, 14 Aug 2019 13:33:11 +0200 Subject: [PATCH] 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 --- osc/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/core.py b/osc/core.py index 3a5485f8..1a20c950 100644 --- a/osc/core.py +++ b/osc/core.py @@ -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):