Browse Source

Updated script and manifest - minor spelling error.

pull/1082/head
mike12345567 6 years ago
parent
commit
39ea169752
  1. 4
      packages/string-templates/manifest.json
  2. 4
      packages/string-templates/scripts/gen-collection-info.js

4
packages/string-templates/manifest.json

@ -1097,8 +1097,8 @@
"format"
],
"numArgs": 2,
"example": "{{date now \"YYYY\"}}",
"description": "<p>Format a date using moment.js data formatting.</p>\n"
"example": "{{date now \"DD-MM-YYYY\"}}",
"description": "<p>Format a date using moment.js date formatting.</p>\n"
}
}
}

4
packages/string-templates/scripts/gen-collection-info.js

@ -139,8 +139,8 @@ function run() {
date: {
args: ["datetime", "format"],
numArgs: 2,
example: '{{date now "YYYY"}}',
description: "Format a date using moment.js data formatting.",
example: '{{date now "DD-MM-YYYY"}}',
description: "Format a date using moment.js date formatting.",
},
}
// convert all markdown to HTML

Loading…
Cancel
Save