-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
area:UIRelated to UI/UX. For Frontend Developers.Related to UI/UX. For Frontend Developers.kind:featureFeature RequestsFeature Requests
Description
Description
There has been some interest expressed in having a configurable UI clock datetime format (#18866). The options currently proposed are:
- Adding a toggle to show/hide the date
- We can include other common formatting options that are requested
- Accepting a datetime format string specifying a custom format
- I imagine the simplest way to implement this is to ask the user to enter a valid format string of the datetime formatting library that is in use at the time. For example, if we are using
moment.js, then ask the user to enter a validmoment.jsformat string. Since I expect this option to be used mainly by advanced users, I think it is fine to ask them to look up the valid format string syntax.
- I imagine the simplest way to implement this is to ask the user to enter a valid format string of the datetime formatting library that is in use at the time. For example, if we are using
Use case/motivation
The date was removed from the UI clock in Airflow 2 - some liked it, and others didn't. Everyone has different preferences, so making it configurable would be a suitable approach.
Related issues
The original PR with some previous discussion: #18866
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
area:UIRelated to UI/UX. For Frontend Developers.Related to UI/UX. For Frontend Developers.kind:featureFeature RequestsFeature Requests