-
Notifications
You must be signed in to change notification settings - Fork 82
Custom date format is changing date swapping day and month #7345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
If we can please get this fix asap. We have this component in production currently and we need to use for the launch of Sage Payroll Advanced for our BCEA project. Please let us know what the ETA will be. |
FE-7268 |
Hi @roekeloosren 👋🏼 We are currently working on a fix for this, so we'll aim to have this released as soon as possible. Please feel to externally contact our team lead @nicktitchmarsh and they should be able to provide a better ETA estimate for you. |
…rmatted value When overridding the default date format, the format was not always respected and would switch to the default in some cases where the day and month were flipped. fix #7345
…rmatted value When overridding the default date format, the format was not always respected and would switch to the default in some cases where the day and month were flipped. fix #7345
Description
Using
DateInput
andDateRange
with thedateFormatOverride
prop to customize format I see date is changed. When selecting 12th May 2025 it then changes it to 5th December 2025.I expect the date not to be changed.
Reproduction
https://stackblitz.com/edit/parsium-carbon-starter-xe8krcwx?file=src%2FApp.tsx
Steps to reproduce
No response
JIRA ticket numbers (Sage only)
No response
Suggested solution
No response
Carbon version
153.0.0
React version
v17
Design tokens version
No response
Relevant browsers
Chrome
Relevant OSs
MacOS
Additional context
No response
Confidentiality
The text was updated successfully, but these errors were encountered: