InetIntel / ioda-ui

Other
2 stars 0 forks source link

Remove time selection form RangePicker to only select dates #122

Closed asylbek09 closed 4 months ago

asylbek09 commented 4 months ago

Issue: https://github.com/InetIntel/ioda-ui/issues/113

salcock commented 4 months ago

Would it be possible to reset the "time" to 00:00 UTC at the start of the day when choosing the start date, and to 00:00 UTC for the following day when choosing an end date?

As opposed to the current method, where the "time" is just whatever it was previously set to (usually the time when you loaded the page), e.g. if I go to the page at 11:34pm UTC and then choose a date range, I end up with a graph that ranges from 11:34pm to 11:34pm -- I would miss out on most of the signal for the start date that I chose.

@amandahmeng do you agree?

asylbek09 commented 4 months ago

Sounds like a good idea. Let me update that

asylbek09 commented 4 months ago
Screenshot 2024-03-06 at 10 58 36

Attached screenshot, when selecting dates from RangePicker Date/Time updated to 00:00 UTC