You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/03/22 23:59:18 UTC

[GitHub] [airflow] alexbegg commented on issue #20045: Configurable UI clock format

alexbegg commented on issue #20045:
URL: https://github.com/apache/airflow/issues/20045#issuecomment-1075765574


   > Just sharing my take on this If this is configurable I would prefer it to be configurable by user and not some cluster wide definition in `airflow.cfg` I have dozens of devs working on the same Airflow instance - each one of them can have their own point of view and preference. I as cluster administrator should not / can not decide for them which clock format is best.
   > 
   > I don't know if this is doable but if this is to be configurable I would feel more comfortable if this could be set by each user individually via `/users/userinfo/`
   
   I also think that makes the most sense to not make it only an installation-wide configuration.
   
   However, I don't think the user info that you can see at `/users/userinfo/` would be the best place for that configuration, because user info is meant to be something an admin sees/edits/creates, such as a user's "role", and admins won't know what a user's datetime format preference is when creating a user.
   
   I think it would be the most convenient if if can be configured the same way you can change your time zone in the UI, via the clock dropdown on the menu. So, like the user's selected time zone, the setting can also be stored via LocalStorage if we go that route. However I also would not want to complicate the UI of the time zone dropdown, so a toggle to show/hide the date would be the easiest.
   
   If we go with the user info setting then I think it would be fine to provide a full datetime format text input box, since it is a full-page form anyways.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org