1
mirror of https://github.com/jakejarvis/spoons.git synced 2025-06-29 07:55:40 -04:00

correct timezone for Scrabble's web server and database server

This commit is contained in:
2013-05-19 18:00:23 -04:00
parent 39f4be98fe
commit 246969726b
3 changed files with 5 additions and 3 deletions

View File

@ -125,7 +125,7 @@ function checkSpoonedByID($id) {
}
function spoonByID($id) {
mysql_query('SET time_zone = "America/New_York"');
mysql_query('SET time_zone = "' . $timezone_number . '"');
mysql_query("UPDATE spooners SET spooned_by = " . getReverseTargetByID($id) . ", time_spooned = NOW(), spooned = 1, order_num = -1 WHERE id = " . $id);
}