diff --git a/scripts/config.php b/scripts/config.php
index 233d05b..0747362 100644
--- a/scripts/config.php
+++ b/scripts/config.php
@@ -24,6 +24,7 @@ if(isset($_GET["latitude"])){
$flickr_api_key = $_GET['flickr_api_key'];
$flickr_filter_email = $_GET["flickr_filter_email"];
$language = $_GET["language"];
+ $timezone = $_GET["timezone"];
if(isset($_GET['apprise_notify_each_detection'])) {
$apprise_notify_each_detection = 1;
@@ -36,6 +37,10 @@ if(isset($_GET["latitude"])){
$apprise_notify_new_species = 0;
}
+ if(isset($timezone)) {
+ shell_exec("sudo timedatectl set-timezone ".$timezone);
+ }
+
// logic for setting the date and time based on user inputs from the form below
if(isset($_GET['date']) && isset($_GET['time'])) {
// can't set the date manually if it's getting it from the internet, disable ntp
@@ -272,7 +277,22 @@ https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}
If connected to the internet, retrieve time automatically?
>
>
- >
+ >
+
+
+