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

Support Dates before 1.1.1970

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Medium Medium
    • 5.3
    • 3.6.1, 5.3-dev
    • Misc
    • None
    • Version: 3.6.1
      PHP Version: -
      Webserver: -
      Database: -

    Description

      As ezPublish stored date and datetime values using Unix timestamps, the user cannot enter a date before 1.1.1970.
      This is annoying, when you build a list of users with birth dates: "Young" persons can be stored, while persons of 35 years or older cannot have their birthday stored.
      Suggestion: Either provide a new datatype, which allows this or enhance the current datatype to support some kind of offset (possibly defined per attribute).
      So, if i define an offset of 70 years, the value "0" would define 1.1.1900, instead of 1.1.1970.
      I don't know the range of the unix timestamp values though, but it should at least be possible to store dates for a century or two.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marco marco
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours
                5h