coerce dates into strings

pull/1/head
ansuz 2016-08-25 11:19:09 +02:00
parent 0add01a940
commit 1bec02239c
1 changed files with 2 additions and 2 deletions

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);