Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YYYY-MM-DD HH:MM:SS format #8

Closed
shap00r opened this issue Jan 4, 2018 · 1 comment
Closed

YYYY-MM-DD HH:MM:SS format #8

shap00r opened this issue Jan 4, 2018 · 1 comment

Comments

@shap00r
Copy link

shap00r commented Jan 4, 2018

not passing YYYY-MM-DD HH:MM:SS format as a MOMENT argument because of the space between the date part and the time part.

@foobuzz
Copy link
Owner

foobuzz commented Jan 4, 2018

Hello,

This is fixed in version 3.1.1

I realized that contrarily to what was specified in the documentation YYYY-MM-DD HH:MM:SS wasn't supported, but YYYY-MM-DDTHH:MM:SS was (the T in the middle comes from the ISO 8601 spec). I added support for the format with the space and documented the format with the T.

When you need to use arguments that contain space(s) in your terminal, you can either escape the space with \ or wrap the whole argument inside simple quotes.

@foobuzz foobuzz closed this as completed Jan 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants