Extract todayISO() utility to lib/utils.ts #42
Labels
No labels
bug
duplicate
enhancement
good first issue
help wanted
question
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lvl0/incr#42
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?
new Date().toISOString().split('T')[0]appears 5 times acrossAddPurchaseForm.tsx(lines 31, 75, 100) andUpdatePriceForm.tsx(lines 25, 63).Fix: Add
export const todayISO = (): string => new Date().toISOString().split('T')[0]toresources/js/lib/utils.tsand import it.Effort: XS — collect in a small cleanups commit.