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

Typo in docs

ghedeonn opened this issue · comments

Thank you for the extension! You did a great job, simple and fast.

One thing i notice to be wrong, for the Insert Formated DateTime command when choosing 'u' we get back the seconds format but when we choose 'U' we get the milliseconds format. But in the documentation we have the following:
u - Milliseconds since the Unix Epoch (January 1 1970 00:00:00 GMT)
U - Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)

which is exactly opposite of what we get from the extension. Now i dont know if the docs are wrong or the extension but they should do the same thing.

Thanks.

Thanks for reporting. You're right. I've fixed the typo in the readme.