rioj7/vscode-file-templates

specify dateTime parameters in the variable

Closed this issue · 0 comments

rioj7 commented

conclusion of #7

instead of naming the properties specify them in the variable as a piece of JSON on one line

${dateTimeFormat##{ "locale": "en-US", "options": { "year": "2-digit", "month": "2-digit", "day": "2-digit", }, "template": "${year}-${month}-${day}"}##}