jsynowiec / vscode-insertdatestring

An extension for Visual Studio Code that provides a configurable command for inserting the current date and time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`TZD` is no longer a valid format placeholder

trongthanh opened this issue · comments

Extension version 1.1.2.

Tried this format:

{ "insertdatestring.format": "YYYY-MM-DDThh:mm:ssTZD" }

And it turns out: 2017-02-03T13:25:19T+073. (the last D is considered date of month)

I noticed that you changed the date formatter to date-format-lite package, and its time zone designator is Z. So documentation should follow.

Besides, the date formatter also support iso as format settings which output the ISO date time format at GMT. I think for convenience sake, this should be noted down in documentation as well.

Thanks for reporting.