From 0b3b2494e290c8b0381423568529550add2a2ab2 Mon Sep 17 00:00:00 2001
From: Kristian Lyngstol
Date: Sun, 21 Feb 2016 01:15:53 +0000
Subject: nms: Fix firefox replay
by actually following the spec
---
web/nms.gathering.org/nms2/index.html | 2 +-
web/nms.gathering.org/nms2/js/nms.js | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
(limited to 'web/nms.gathering.org/nms2')
diff --git a/web/nms.gathering.org/nms2/index.html b/web/nms.gathering.org/nms2/index.html
index 81f68e5..111dd52 100644
--- a/web/nms.gathering.org/nms2/index.html
+++ b/web/nms.gathering.org/nms2/index.html
@@ -310,7 +310,7 @@
shortcuts. See the help menu for an overview of keyboard
shortcuts.
-
+
diff --git a/web/nms.gathering.org/nms2/js/nms.js b/web/nms.gathering.org/nms2/js/nms.js
index 30d6ba8..27e4684 100644
--- a/web/nms.gathering.org/nms2/js/nms.js
+++ b/web/nms.gathering.org/nms2/js/nms.js
@@ -253,7 +253,7 @@ function checkNow(now)
{
if (Date.parse(now)) {
var d = new Date(Date.parse(now));
- var str = d.getFullYear() + "-" + (parseInt(d.getMonth())+1) + "-" + d.getDate() + " ";
+ var str = d.getFullYear() + "-" + (parseInt(d.getMonth())+1) + "-" + d.getDate() + "T";
str += d.getHours() + ":" + d.getMinutes() + ":" + d.getSeconds();
return str;
@@ -273,7 +273,7 @@ function checkNow(now)
function stringToEpoch(t)
{
var foo = t.toString();
- foo = foo.replace('T',' ');
+// foo = foo.replace('T',' ');
var ret = new Date(Date.parse(foo));
return parseInt(parseInt(ret.valueOf()) / 1000);
}
--
cgit v1.2.3