Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2152

Wrong Behaviour of Datebox when Overwriting Time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.5.7, 7.0.3
    • 7.0.0, 6.5.6, 7.0.2
    • Components
    • Security Level: Jimmy
    • None
    • None

      http://forum.zkoss.org/question/90132/wrong-behaviour-of-datebox-when-overwriting-time/

      The „Date and Time Picker" (datebox) has a very strange behaviour when trying to modify the time (in 24-hour mode).

      It can be reproduced on http://www.zkoss.org/zkdemo/input/date_and_time_picker (http://www.zkoss.org/zkdemo/input/dateandtime_picker) in the field "Long and Medium" as follows:

      Click on the calendar symbol in the datebox.
      Modify the time to anything between 04:00:00 and 09:59:59 or anything between 14:00:00 and 19:59:59.
      Hit enter.
      Click on the calendar symbol in the datebox again.
      Mark the entire time expression.
      Hit the "2".
      It appears "02".

      I noticed this when I wanted to enter 23:59:59 but instead got 02:35:09.

      Additional info:
      The same behavior under ie10 and current Firefox.
      This issue is not only on the demo side it occures also on my application.

            JerryChen JerryChen
            jimmyshiau jimmyshiau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: