mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
debug
This commit is contained in:
parent
ae4d7339d4
commit
285e104264
1 changed files with 3 additions and 1 deletions
|
@ -1940,7 +1940,9 @@ function convertDBDateToLocal(dbDateString) {
|
||||||
//m = moment.tz(dbDateString, _serverDBTimezone);
|
//m = moment.tz(dbDateString, _serverDBTimezone);
|
||||||
m = moment.tz(dbDateString,_serverDBTimezone).local();
|
m = moment.tz(dbDateString,_serverDBTimezone).local();
|
||||||
}
|
}
|
||||||
return m.fromNow();
|
var fromNow = m.fromNow();
|
||||||
|
consolelog('convertDBDateToLocal' , dbDateString, _serverDBTimezone, fromNow);
|
||||||
|
return fromNow;
|
||||||
}
|
}
|
||||||
|
|
||||||
function convertDateFromTimezoneToLocal(dbDateString, timezone) {
|
function convertDateFromTimezoneToLocal(dbDateString, timezone) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue