Skip to content
Snippets Groups Projects
Commit 7b6410d9 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #2297 from greezybacon/issue/2277


db: Fix timezone detection on Windows

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 38c96394 4377356b
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,7 @@ class DbTimezone {
function get_date_offset($checks) {
static $fragment =
"-time_to_sec(timediff('%s', convert_tz('%s', @@session.time_zone, '+00:00'))) DIV 60";
"time_to_sec(timediff('%s', convert_tz('%s', @@session.time_zone, '+00:00'))) DIV 60";
if (!is_array($checks))
$checks = func_get_args();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment