Skip to content

Commit

Permalink
fix: change time placeholders to dashes since it is more common
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Feb 23, 2025
1 parent 80634bb commit 07357e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/odd-cougars-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@formwerk/core': patch
---

fix: change time placeholders to dashes since it is more common
6 changes: 3 additions & 3 deletions packages/core/src/useDateTimeField/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export function getSegmentTypePlaceholder(type: DateTimeSegmentType) {
year: 'YYYY',
month: 'MM',
day: 'DD',
hour: 'HH',
minute: 'mm',
second: 'ss',
hour: '--',
minute: '--',
second: '--',
dayPeriod: 'AM',
weekday: 'ddd',
};
Expand Down

0 comments on commit 07357e9

Please sign in to comment.