mirror of
https://github.com/jakejarvis/spoons.git
synced 2025-10-22 20:34:29 -04:00
set time zone in environment variable
This commit is contained in:
@@ -20,8 +20,7 @@
|
||||
$db_name = "spoons";
|
||||
}
|
||||
|
||||
$timezone_number = "-4:00";
|
||||
$timezone_name = "America/New_York";
|
||||
$timezone_name = getenv('TZ');
|
||||
|
||||
date_default_timezone_set($timezone_name);
|
||||
?>
|
||||
|
Reference in New Issue
Block a user