coerce dates into strings

pull/1/head
ansuz 8 years ago
parent 0add01a940
commit 1bec02239c

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

Loading…
Cancel
Save