tnx to m1geo
This commit is contained in:
parent
9cb475cadd
commit
177d66f811
2 changed files with 22 additions and 20 deletions
|
@ -113,9 +113,11 @@ function showLapTime($func) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function convertTimezone($timestamp) {
|
function convertTimezone($timestamp) {
|
||||||
|
try {
|
||||||
$date = new DateTime($timestamp);
|
$date = new DateTime($timestamp);
|
||||||
$date->setTimezone(new DateTimeZone(TIMEZONE));
|
$date->setTimezone(new DateTimeZone(TIMEZONE));
|
||||||
return $date->format('Y-m-d H:i:s');
|
return $date->format('Y-m-d H:i:s');
|
||||||
|
} catch (Exception $err) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
function encode($hex) {
|
function encode($hex) {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
define("VERSION", "20180404-1 (".getGitVersion().")");
|
define("VERSION", "20180404-2 (".getGitVersion().")");
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue