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

Different timezones than GMT+0 may result in the invalid default date for ezdate field

    XMLWordPrintable

Details

    Description

      After setting of certain timezone in php.ini which is different than Greenwich Mean Time Zone
      there may be a problem with Default Date Field as the date will not match the server's PHP date.
       
      Steps to reproduce:
      1) set date.timezone parameter in php.ini to a timezone that currently has a different date than GMT+0 timezone (which is the default timezone for the UNIX timestamp).
      2) create a new ContentType with ezdate field and set the default date to the current date.
      3) go to the form which creates this Content and observe the initial default date.
       
      Result:
      The date will be different than the current server's date based on php.ini settings
       
      Expected result:
      The date should be the same as the current server's date based on php.ini settings

      Attachments

        Activity

          People

            Unassigned Unassigned
            bartlomiej.wajda@ibexa.co Bartłomiej Wajda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: