Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-3022

date field doesn't show 0 date

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Outdated
    • r2.06.09
    • None
    • front-end-core
    • None
    • cms 2.06.09

    Description

      I have a date field with the prototype default value set to year 0,

      <sv:property sv:name="web:enddate" sv:type="Date">
      <sv:value>0000-01-01T00:00:00.000+00:00</sv:value>
      </sv:property>

      When i create a new document with this field, the date in the cms frontend is set to somewhere in 2001-12-30
      When i save the document, without changing the date, i can see in the console it stored the correct date:

      0000-01-01T00:00:00.000Z

      Attachments

        Issue Links

          Activity

            People

              fvlankvelt Frank van Lankvelt (Inactive)
              ssmith Shane Smith (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Time Spent - 1 hour, 21 minutes Remaining Estimate - 6 hours, 39 minutes
                  6h 39m
                  Logged:
                  Time Spent - 1 hour, 21 minutes Remaining Estimate - 6 hours, 39 minutes
                  1h 21m