Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5940

Improve DateField implementation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Neutral
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.2.2
    • Component/s: None
    • Labels:

      Description

      Current DateField implementation could be improved in several ways:

      1. it uses Java7 SimpleDateFormat and Date type instead of Java8 DateTimeFormater and Temporal types
      2. DateFieldDefinition contains unwanted logic and as a consequence of this, defaultValue NOW is interpreted as the time of reading definition instead of time of generating field in detail sub app
      3. parsing of default value is locale specific and should be probably be hardcoded to english as docu site don't mention this at all (this last thing is in fact a bug in non-english systems)

      https://documentation.magnolia-cms.com/display/DOCS62/Date+field

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              asiska Adam Siska
              Reporter:
              asiska Adam Siska
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 44m
                  44m