I found another solution that works with how the tiddlers are CURRENLTY
encoded, and I learned something new. Thankfully JSON.parse admits reviver
functions. So all I have to do is a patch function like this:
var patchJsonDate = function (key, value) {
if (key === "created" || key === "modified"){
return new Date(value)
} else
return value
};
Is there anything that should make me stick to the getFieldString thing?
Any drawback except the dates?
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.