cocalc
cocalc copied to clipboard
Consider changing the date range selector
- The license date range selector combined with the time selector is cumbersome to use and likely there is no easy solution to it.
- In practice time is often not needed, BUT not having any control over it leads to headache over timezone for start-stop.
- What if we have 3 separate controls?
Namely:
- One for date range only, which is easy and intuitive, the top one on the right: https://ant.design/components/date-picker
- One for start time, that defaults to 00:00:00 (in user's time zone)
- One for end time, that defaults to 23:59:59
- The time period in the description should round up the length enough to display "23 days" rather than anything more precise.
Ideally, "the user's time zone" would be "user's" even for admins, but I imagine this is tricky and fragile.