This commit introduces a time tracking feature for development sessions managed by . Key changes: - **Extended Notion Helpers:** Added new functions (get_page_number_property, get_page_date_property) to read numerical and date values from Notion. Refactored the status update function to a generic to handle various field types. - **Session Start Time:** A timestamp (session_start_time) is now saved in the file when a session starts. - **Automatic Time Calculation:** The time elapsed since is calculated when the command is executed. - **Incremental Duration:** The calculated duration is added to the existing 'Total Duration h' property of the Notion task, and the result is written back to Notion. - **Continuous Tracking:** The is reset to the current time after each report to accurately track the next work unit in the same session. Fixes [2f488f42]
1 line
166 B
Plaintext
1 line
166 B
Plaintext
{"task_id": "2f488f42-8544-81ac-a9f8-e373c4c18115", "token": "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", "session_start_time": "2026-01-26T18:39:11.157549"} |