mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 10:49:36 +02:00
Timezone improvements
This commit is contained in:
parent
d2652f83cf
commit
c574c13900
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue