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: 1281
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: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

Post Reply