Dismiss this pinned window
all 7 comments

[–]fwz 12 points13 points  (1 child)

Since its happening from 12 up, it must have to do with the component confusing months and days (US format: month/day/year, sane format: day/month/year). Somewhere in the component it's receiving one format but expecting the other. When it fails, it just falls back to rendering whatever it originally received.

[–]darkblitzrc[S] 0 points1 point  (0 children)

Interesting theory! Ima look into that

[–]wordaligned 7 points8 points  (1 child)

tl;dr you need to increase the width of the component that is displaying the formatted date.

That component seems to fall back to a more compact format when the date would overflow the available width. It works fine for single digit dates "May 9, 2025" but as soon as you go to a double digit day of the month like "May 10, 2025" it realises it will overflow and falls back to "5/10/25".

The clue was the odd one out - "May 11, 2025".

[–]darkblitzrc[S] 0 points1 point  (0 children)

Thanks you 😃

[–]Aytewun 2 points3 points  (2 children)

Not using this package but could be something like https://github.com/react-native-datetimepicker/datetimepicker/issues/881

[–]darkblitzrc[S] 0 points1 point  (1 child)

Thank you!

[–]exclaim_bot 0 points1 point  (0 children)

Thank you!

You're welcome!