Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2.5.8
-
Required setup
Clean installation of ezPlatform 2.5.8
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