Add leading zeros to minute and day of month fields #219

Merged
brandon.presley merged 2 commits from svenf/Massive:fix-date-format into master 2024-02-05 01:26:48 +00:00
Contributor

Fixes: #218
Only 24h time formats were affected.

Fixes: #218 Only 24h time formats were affected.
svenf added 1 commit 2024-01-16 11:20:19 +00:00
Author
Contributor

See https://date-fns.org/v3.2.0/docs/format for format string details.

To consider:

  • Replace k (0-23) with kk (00-23)?
  • Replace d (1-31) with dd (01-31) in 12h formats?
  • Unify month format (either LL or MM for both 12h and 24h formats)? Month formatting doesn't affect the one-/two digit representation anyway.
See https://date-fns.org/v3.2.0/docs/format for format string details. To consider: * Replace `k` (0-23) with `kk` (00-23)? * Replace `d` (1-31) with `dd` (01-31) in 12h formats? * Unify month format (either `LL` or `MM` for both 12h and 24h formats)? Month formatting doesn't affect the one-/two digit representation anyway.
brandon.presley added 1 commit 2024-02-05 01:26:21 +00:00
426c557019 Add migrations to leading zeros for date settings
Also included the 12-hour formats for leading zeros.
brandon.presley merged commit 9b52aec554 into master 2024-02-05 01:26:48 +00:00
brandon.presley deleted branch fix-date-format 2024-02-05 01:26:57 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: brandon.presley/Massive#219
No description provided.