1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-10-31 07:32:59 +00:00

Passed "store" to the other parser constructors

This commit is contained in:
Jeremy Ruston
2012-02-11 20:01:58 +00:00
parent 45663f6f16
commit 017be8f4ff
7 changed files with 58 additions and 68 deletions

View File

@@ -33,6 +33,7 @@ exports.macro = {
} else {
return store.renderText("text/x-tiddlywiki",v,type,tiddler.title);
}
break;
case "date":
var template = params.template || "DD MMM YYYY";
return encoder(utils.formatDateString(v,template));