modoboa / modoboa-stats

Graphical statistics for Modoboa
MIT License
9 stars 13 forks source link

Time entered in 12 hr should be 24 hr #48

Closed Lucidi0us closed 5 years ago

Lucidi0us commented 6 years ago

Also reported here: https://github.com/modoboa/modoboa/issues/1545

Impacted versions Modoboa: 1.10.6 installer used: Yes Webserver: Nginx Steps to reproduce Use the Statistics panel and attempt to set a time between 1PM (13:00) and 12:59 AM (00:59). The AM/PM function and the input field appears to expect 24 hr time format

Current behavior Unable to set a time between 1PM (13:00) and 12:59 AM (00:59). Unable to manually edit Date time string, text box not editable.

Expected behavior Be able to set any time you want.

Video/Screenshot link (optional) 12:07 AM should enter 00:07:SS (SS for seconds it chooses, as seconds cannot be defined in the gui) image

3:09 PM has entered 3:09 AM into the text area image

Furthest left on graph is 12:30 PM not 12:07 AM as requested image

Furthest right on graph is 2:32 AM not 3:09 PM as requested image