Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23925

Improve the DateAndTime edit view for browsers not supporting date and time HTML5 input

    Details

      Description

      Follow up of EZP-21826.
      This was already done for the Date and the Time edit views. This probably needs some refactoring to avoid duplicating code.

      Scope that we could backport:

      • Display a placeholder (to hint the user to the expected format)
      • YYYY-MM-DD for Date
      • hh:mm:ss for Time
      • The placeholder letters should be displayed using the translation system, but it would not change the format that the user should enter.
      • For example in french: AAAA-MM-JJ and hh:mm:ss

        Issue Links

          Activity

          Hide
          Yannick Roger (Inactive) added a comment -

          In Firefox no clue is displayed about the expected format (see screenshot).

          We should at least add a place holder to hint the expected format.

          Show
          Yannick Roger (Inactive) added a comment - In Firefox no clue is displayed about the expected format (see screenshot). We should at least add a place holder to hint the expected format.
          Hide
          Roland Benedetti added a comment -

          I think so.

          Show
          Roland Benedetti added a comment - I think so.
          Show
          Yannick Roger (Inactive) added a comment - PR on 1.7: https://github.com/ezsystems/PlatformUIBundle/pull/844
          Hide
          Rui Silva (Inactive) added a comment -

          PR tested and approved by QA for 1.7.
          Sending back to dev-needed so that PR can be merged.
          Please send issue back to QA afterwards so that QA can inform Support Team that a fix is ready for the customer.

          Show
          Rui Silva (Inactive) added a comment - PR tested and approved by QA for 1.7. Sending back to dev-needed so that PR can be merged. Please send issue back to QA afterwards so that QA can inform Support Team that a fix is ready for the customer.
          Hide
          Yannick Roger (Inactive) added a comment -

          This "improvement" will be shipped in all supported version so 1.7 and 1.9. The patch will also apply on 1.8 but won't be shipped as a release.

          Show
          Yannick Roger (Inactive) added a comment - This "improvement" will be shipped in all supported version so 1.7 and 1.9. The patch will also apply on 1.8 but won't be shipped as a release.
          Show
          Yannick Roger (Inactive) added a comment - Added in 1.7, 1.9 and master: https://github.com/ezsystems/PlatformUIBundle/commit/57cfb9bb7cf502011c9e9af84c13bb60acbaa991

            People

            • Assignee:
              Unassigned
              Reporter:
              Damien Pobel (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: