i18n: Support Olson style timezone for MySQL
This patch attempts to query or detect the Olson style timezone (e.g. America/Chicago) from the database. This is preferred over the previous code as the previous code would always consider the current database GMT offset rather than the GMT offset of the date being converted (which might be on the other side of a DST transition).
Showing
- bootstrap.php 0 additions, 1 deletionbootstrap.php
- include/class.config.php 7 additions, 8 deletionsinclude/class.config.php
- include/class.misc.php 16 additions, 5 deletionsinclude/class.misc.php
- include/class.timezone.php 352 additions, 34 deletionsinclude/class.timezone.php
- include/mysqli.php 1 addition, 1 deletioninclude/mysqli.php
Loading
Please register or sign in to comment