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

Wrong Timebox format if the format of Datebox contains 'a'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.5.8.1
    • Components

      Steps to Reproduce

      https://zkfiddle.org/sample/d4j938/1-ZK-4940

      Current Result

      The timebox format is 'a hh:mm:ss'

      Expected Result

      The timebox format is 'hh:mm:ss a'

      Debug Information

      https://github.com/zkoss/zk/blob/v9.5.1.3/zul/src/archive/web/js/zul/db/Datebox.js#L359
      it compares the position of 'a' and 'h'

      Currently 'at' string is not supported by ZK.

      Workaround


            DevChu DevChu
            rudyhuang rudyhuang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: