jsynowiec / vscode-insertdatestring

An extension for Visual Studio Code that provides a configurable command for inserting the current date and time
MIT License
63 stars 14 forks source link

Insert date with Z difference, format wrong #3

Closed therealmarv closed 7 years ago

therealmarv commented 7 years ago

Hi, I'm currently in the Philippines with a Mac (German language). My configuration:

OS: macOS 10.12.3 VSCode: 1.9.1 vscode-insertdatestring: 1.2.0

In my settings.json I put:

"insertdatestring.format": "YYYY-MM-DDThh:mm:ssZ"

Executed Insert Datetime

Expected I see

2017-02-10T17:56:00+08:00

but I got this output:

2017-02-10T17:56:00+08

Personal note: thanks for this plugin. Very useful for inserting timestamps into some Markdown files :) 👍

jsynowiec commented 7 years ago

Thanks for reporting. I'll look into this.

jsynowiec commented 7 years ago

Please update the extension to 1.2.1 and use the following format: YYYY-MM-DDThh:mm:ssZZZ

therealmarv commented 7 years ago

I confirm, works now! Thanks!