Добавил новый датакласс для Деятельности трудочасов и настроил их динамическую подгрузку из Redmine

This commit is contained in:
2025-05-21 12:22:48 +03:00
parent aae6d8309a
commit 70232f15a0
8 changed files with 39 additions and 24 deletions

View File

@@ -24,4 +24,4 @@ class ClockifyConfig:
return "%Y-%m-%dT%H:%M:%SZ"
def update_time_entry(self, activity_id):
return f"/workspaces/{self.workspace_id}/time-entries/{activity_id}"
return f"/workspaces/{self.workspace_id}/time-entries/{activity_id}"

View File

@@ -13,4 +13,8 @@ class RedmineConfig:
@property
def datetime_format(self):
return "%Y-%m-%d"
return "%Y-%m-%d"
@property
def time_entry_activities(self):
return "/enumerations/time_entry_activities.json"