-
Notifications
You must be signed in to change notification settings - Fork 8
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
Time everywhere in UI should be 24h #80
Comments
The start of day and end of day is defined in the backend here: https://github.com/Uninett/Argus/blob/1bcee6aaeb2e04f2e26b394d349f49bc2a510422/src/aas/notificationprofile/models.py#L61 class TimeInterval(models.Model):
DAY_START = time.min
DAY_END = time.max where from datetime import datetime, time Evaluating
I'm not really sure how this could be solved in the frontend. It could be solved by handling a special case of 00:00 (AM/PM), or by making the range: In addition, what about timezones? I cannot see a way to set timezone, so how does it determine one? |
There might be a checkbox with "All day"? |
How dates and times and timezones are shown differs between browsers and browser versions. Some use CLDR. Some use OS locales. Some you can set time and date formats in the setinngs, independently. It's a bit like the old difficulty with getting firefox to use A4, messy and unpredictable, which is why it is nice UX to allow people to control it themselves and not rely on the browser/os/moon phase. |
Is this 24h time?
How are you supposed to create a duration that is 24h.
The text was updated successfully, but these errors were encountered: