1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 10:49:36 +02:00

Timezone improvements

This commit is contained in:
DanieL 2022-04-20 15:00:10 -03:00
parent d2652f83cf
commit c574c13900

View file

@ -1758,6 +1758,7 @@ function getServerTime() {
$.ajax({
url: webSiteRootURL + 'objects/getTimes.json.php',
success: function (response) {
console.log('getServerTime', response);
_serverTime = response._serverTime;
_serverDBTime = response._serverDBTime;
_serverTimeString = response._serverTimeString;
@ -1775,6 +1776,7 @@ function getServerTime() {
}
function clearServerTime() {
console.log('clearServerTime');
_serverTime = null;
_serverDBTime = null;
_serverTimeString = null;