Daylight Savings Time Error

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
primitive_man
AppGini Super Hero
AppGini Super Hero
Posts: 54
Joined: 2014-03-09 20:20

Daylight Savings Time Error

Post by primitive_man » 2017-04-24 09:56

In the file 'lib.php' - when the language is set to 'English, British' - the date_default_timezone_set() php function gets set to 'GB'.

This is not a valid, supported timezone - See list here: http://php.net/manual/en/timezones.php - in this case, it should be set to 'Europe/London'.

This error will cause problems with timestamp accuracy.

primitive_man
AppGini Super Hero
AppGini Super Hero
Posts: 54
Joined: 2014-03-09 20:20

Re: Daylight Savings Time Error

Post by primitive_man » 2017-04-24 12:10

Additional Information: If you've set up a field as a 'Timestamp' with the usual default - 'Current_Time' and Attributes: 'on_update' you may still get incorrect timestamps - so, instead set the field type to: DATETIME and let AppGini take care of it.

User avatar
a.gneady
Site Admin
Posts: 1106
Joined: 2012-09-27 14:46
Contact:

Re: Daylight Savings Time Error

Post by a.gneady » 2017-07-19 12:43

Thanks for reporting this bug. We'll fix it in the next release. For now, you can fix it manually by editing the file "timeZones.cfg". You can find it inside the folder where AppGini installed, under the "add-ons" subfolder.
:idea: Calendar plugin: Organize your data into beautiful calendars.
:arrow: Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
:arrow: Summary Reports plugin: Build powerful reports and charts for your AppGini apps.
:arrow: Search Page Maker: Compose user-friendly yet powerful search pages for your AppGini apps.

Post Reply