fix(timetracking): [2f488f42] Behebe Platzhalter, UTC-Zeit und redundante Zeitmessung
This commit is contained in:
@@ -660,13 +660,13 @@ def report_status_to_notion(
|
||||
report_content = "\n".join(report_lines)
|
||||
|
||||
# Notion Blöcke für die API erstellen
|
||||
timestamp = datetime.now().strftime('%Y-%m-%d %H:%M')
|
||||
timestamp = datetime.utcnow().strftime('%Y-%m-%d %H:%M')
|
||||
notion_blocks = [
|
||||
{
|
||||
"object": "block",
|
||||
"type": "heading_2",
|
||||
"heading_2": {
|
||||
"rich_text": [{"type": "text", "text": {"content": f"🤖 Status-Update ({timestamp})"}}]
|
||||
"rich_text": [{"type": "text", "text": {"content": f"🤖 Status-Update ({timestamp} UTC)"}}]
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -692,7 +692,7 @@ def report_status_to_notion(
|
||||
|
||||
# Commit-Nachricht erstellen
|
||||
commit_subject = actual_summary.splitlines()[0] if actual_summary else "Notion Status Update"
|
||||
commit_message = f"[{task_id.split('-')[0]}] {commit_subject}\n\n{{actual_summary}}"
|
||||
commit_message = f"[{task_id.split('-')[0]}] {commit_subject}\n\n{actual_summary}"
|
||||
|
||||
subprocess.run(["git", "commit", "-m", commit_message], check=True)
|
||||
print("✅ Git commit erfolgreich.")
|
||||
|
||||
Reference in New Issue
Block a user