mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
fix timezone
This commit is contained in:
parent
f507e7754b
commit
797cf289a6
1 changed files with 1 additions and 0 deletions
|
@ -1932,6 +1932,7 @@ function convertDateFromTimezoneToLocal(dbDateString, timezone) {
|
|||
return dbDateString;
|
||||
}
|
||||
dbDateString = $.trim(dbDateString.replace(/[^ 0-9:-]/g,''));
|
||||
timezone = $.trim(timezone)
|
||||
console.log('moment.tz',dbDateString,timezone);
|
||||
isMomentTimezoneReady(timezone);
|
||||
var m = moment.tz(dbDateString,timezone).local();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue