From caa13a056bbf02e5a62ac2f410fae925f184a1ce Mon Sep 17 00:00:00 2001 From: Eduard Date: Wed, 21 May 2025 09:57:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D1=83=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B8=20=D0=BA=D0=BE=D1=82=D0=BE=D1=80=D0=BE=D0=B9=20=D0=BD?= =?UTF-8?q?=D0=B5=20=D0=B7=D0=B0=D0=B2=D0=B5=D1=80=D1=88=D0=B5=D0=BD=D0=BD?= =?UTF-8?q?=D0=B0=D1=8F=20=D0=B7=D0=B0=D0=B4=D0=B0=D1=87=D0=B0=20=D1=82?= =?UTF-8?q?=D1=80=D0=B5=D0=BA=D0=B0=D0=BB=D0=B0=D1=81=D1=8C=20=D0=BD=D0=B0?= =?UTF-8?q?=203=20=D1=87=D0=B0=D1=81=D0=B0=20=D0=B1=D0=BE=D0=BB=D1=8C?= =?UTF-8?q?=D1=88=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/clockify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/clockify.py b/api/clockify.py index 8bebe6f..ae97fde 100644 --- a/api/clockify.py +++ b/api/clockify.py @@ -53,7 +53,7 @@ class ClockifyAPI(ClockifyConfig): vetro_project_id=activity["taskId"], vetro_project_title=config.VETRO_PROJECTS.get(activity.get("taskId")), description=activity["description"], - time_spent=time_to_hour((end if end else datetime.now()) - start), + time_spent=time_to_hour((end if end else datetime.utcnow()) - start), date_start=start, date_end=end, is_tracked=activity["billable"]