Show tested as date only on public page

master
Skylar Ittner 4 years ago
parent f665fd3078
commit 684f33b9e5

@ -335,7 +335,7 @@ if (isset($_GET["backgroundcolor"]) && !empty($_GET["backgroundcolor"]) && preg_
if (!empty($c->getTestedDate())) {
?>
<b><?php $Strings->get("Tested On"); ?></b>: <?php echo date($SETTINGS["datetime_format"], strtotime($c->getTestedDate())); ?><br />
<b><?php $Strings->get("Tested On"); ?></b>: <?php echo date($SETTINGS["date_format"], strtotime($c->getTestedDate())); ?><br />
<?php
}

@ -81,6 +81,7 @@ $SETTINGS = [
// For supported values, see http://php.net/manual/en/timezones.php
"timezone" => "America/Denver",
"datetime_format" => "M j Y g:ia",
"date_format" => "M j Y",
// Language to use for localization. See langs folder to add a language.
"language" => "en",
// Shown in the footer of all the pages.

Loading…
Cancel
Save