Commit 582a66b
Add test for AM/PM format token conversion in date-fns adapter
Verifies that localeParse converts uppercase A (moment-style AM/PM)
to lowercase a (date-fns) so that both format() and parse() work
correctly with 12-hour time formats.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent cb2f157 commit 582a66b
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
338 | 353 | | |
0 commit comments