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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 6.5.8.1
    • Fix Version/s: None
    • Component/s: Components
    • Labels:

      Description

      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


        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: