Skip to content

Convert date regex to date before comparison. Closes #503.#505

Merged
Marsup merged 3 commits intohapijs:masterfrom
fampinheiro:master
Dec 1, 2014
Merged

Convert date regex to date before comparison. Closes #503.#505
Marsup merged 3 commits intohapijs:masterfrom
fampinheiro:master

Conversation

@fampinheiro
Copy link
Contributor

Fixes #503.

@Marsup Marsup added the bug Bug or defect label Dec 1, 2014
@Marsup Marsup self-assigned this Dec 1, 2014
@Marsup Marsup added this to the 5.0.2 milestone Dec 1, 2014
lib/date.js Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use toString() instead ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

@Marsup
Copy link
Collaborator

Marsup commented Dec 1, 2014

@fampinheiro Ready to merge ?

@fampinheiro
Copy link
Contributor Author

@Marsup yes it is 📦

Marsup added a commit that referenced this pull request Dec 1, 2014
Convert date regex to date before comparison. Closes #503.
@Marsup Marsup merged commit 66e04b5 into hapijs:master Dec 1, 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

bug Bug or defect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Joi.date().iso() throws error when required() is used.

2 participants