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

select a date with time produces an invalid result under locale pt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 10.0.1
    • 9.6.4
    • None
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      <datebox cols="30" format="d 'de' MMMM y HH:mm:ss" onCreate="self.value = new Date()" locale="pt" />
      

      1. select any date

      Current Result


      You must specify a date. Format: d de MMMM y HH:mm:ss

      Expected Result

      no error

      Debug

      • the previous fixe in ZK-5423 doesn't consider the case that a month string might contain a literal e.g. 'dezembro' contains 'de'. For this case, we can remove that 'de' from 'dezembro'

      Workaround

      zk-5475.js

        1. error.png
          error.png
          10 kB
        2. zk-5475.js
          15 kB

            Unassigned Unassigned
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: