|
|
@ -45,7 +45,7 @@ function getTimezone() {
|
|
|
|
function getLocaltimeFromTimestamp(timestamp) {
|
|
|
|
function getLocaltimeFromTimestamp(timestamp) {
|
|
|
|
logIt(timestamp);
|
|
|
|
logIt(timestamp);
|
|
|
|
if (useClientTimezone) {
|
|
|
|
if (useClientTimezone) {
|
|
|
|
var localtime = new Date(timestamp + "Z");
|
|
|
|
var localtime = new Date(timestamp.replace(/-/g, "/") + " GMT");
|
|
|
|
return localtime.toLocaleString();
|
|
|
|
return localtime.toLocaleString();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
return timestamp;
|
|
|
|
return timestamp;
|
|
|
|