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

Add format and iso to date type #435

Closed
wants to merge 4 commits into from
Closed

Conversation

Marsup
Copy link
Collaborator

@Marsup Marsup commented Sep 19, 2014

Replaces #428.

Moment.js is more lax about ISO 8601 on a few cases, I kept them commented in the tests so that we don't forget them.
It seems I can't be in strict mode for ISO 8601 otherwise I'd make another test fail (2013-06-07) so I preferred to switch it off for this case.

@hueniverse
Copy link
Contributor

Can you open a new issue for the bad formats?
Missing docs.
Also where's the change to string().isoDate()?

@hueniverse hueniverse added bug Bug or defect feature New functionality or improvement and removed bug Bug or defect labels Sep 20, 2014
@hueniverse hueniverse self-assigned this Sep 20, 2014
@Marsup
Copy link
Collaborator Author

Marsup commented Sep 20, 2014

Issue opened and docs updated.
What about string().isoDate() ? Want me to include #428's modifications ?

@hueniverse
Copy link
Contributor

I want everything to use the same logic.

@Marsup
Copy link
Collaborator Author

Marsup commented Sep 20, 2014

OK so after debating with @hueniverse we'll share the code between string and date, and avoid weaker algorithm from moment.js. @rtomlinson consider your pull request merged with this one, sorry for the hijack.

@hueniverse ready to merge unless you see other issues.

@arb arb mentioned this pull request Sep 25, 2014
@Marsup Marsup added this to the 4.8.0 milestone Nov 3, 2014
@Marsup Marsup closed this Nov 3, 2014
@Marsup Marsup deleted the date-format branch November 3, 2014 13:15
@hueniverse hueniverse assigned Marsup and unassigned hueniverse Nov 3, 2014
@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New functionality or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants