Fix streak dates not being aligned with current date #2
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: m.giller/giller.dev#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In the following line of code, the ISO is used, which returns the UTC timestamp, but the local timestamp is required instead. Ultimate goal is to get a date-string in the format "YYYY-MM-DD". Rewrite this section to fix the bug.
const formattedDate = adjustedDate.toISOString().split('T')[0];
Fixed with
2c349422e3