diff --git a/html/js/functions.js b/html/js/functions.js
index 5523ab4..e2c0954 100644
--- a/html/js/functions.js
+++ b/html/js/functions.js
@@ -45,7 +45,7 @@ function getTimezone() {
function getLocaltimeFromTimestamp(timestamp) {
logIt(timestamp);
if (useClientTimezone) {
- var localtime = new Date(timestamp + "Z");
+ var localtime = new Date(timestamp.replace(/-/g, "/") + " GMT");
return localtime.toLocaleString();
} else {
return timestamp;