Updated chore due date to ISO 8601 format
All checks were successful
/ chores (push) Successful in 19s
All checks were successful
/ chores (push) Successful in 19s
Ensured that the 'due_date' variable is now formatted in strict ISO 8601 compliance by removing microseconds and appending 'Z' to indicate UTC. This change aids in consistent date-time parsing across different systems and services that expect a standardized timestamp without fractional seconds.
This commit is contained in:
parent
d5fe6d18a4
commit
11bde9e12d
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ CHORES = (
|
|||
)
|
||||
|
||||
|
||||
due_date = (datetime.utcnow() + timedelta(days=EXPIRY_DAYS)).isoformat()
|
||||
due_date = (datetime.utcnow() + timedelta(days=EXPIRY_DAYS)).isoformat().split(".")[0] + "Z"
|
||||
|
||||
payload = {
|
||||
"title": "Weekly Chores",
|
||||
|
|
Loading…
Reference in a new issue