-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
refactor: datetime to support custom date and time formats #7091
Conversation
@demshy fixtures would have to be recorded as base64 blobs change because default datetime format changed. |
In trying to specify the
However, none of those formatting values change the date display from what is described in #7090
It would be good to update the Docs with these two differences of formats once this Day.js feature is fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am struggling with this. Anytime i get it to work for a certain scenario, another one stops working. I will focus on other issues for a while and revisit this with fresh eyes.
If anyone else is willing to take a shot you are more that welcome.
* refactor: datetime to support custom date and time formats * refactor: improve date formatting * fix: fix dev test script * test: update fixtures * test: set timezone for ci e2e tests * test: update jest * fix: work in progress on datetime control * fix: date and time formatting, handle picker_utc * fix: remove undefined variable, format * fix: jest-environment-jsdom version * refactor: dayjs imports, getFormat and onInputChange functions * fix: set default value * fix: lint datetime control --------- Co-authored-by: Anze Demsar <anze.demsar@p-m.si>
Solves the problem with time_format in datetime widget described in #7090
Adds back support for
picker_utc
described in #7132