coerce dates into strings

This commit is contained in:
ansuz 2016-08-25 11:19:09 +02:00
parent 0add01a940
commit 1bec02239c

View file

@ -206,7 +206,7 @@ define([
};
var makePad = function (href, title) {
var now = new Date();
var now = ''+new Date();
return {
href: href,
atime: now,
@ -225,7 +225,7 @@ define([
return;
}
var now = new Date();
var now = ''+new Date();
var href = window.location.href;
var parsed = parsePadUrl(window.location.href);