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

Added support for ISO_8601 expansion (+/-YYYYYY) #1076

Merged
merged 1 commit into from
Jan 15, 2017

Conversation

kfitzgerald
Copy link
Contributor

Adds support for expanded iso dates, which allows for ancient and far future date representations (e.g. AD/BC or BCE/CE)

For example, this is a valid:

(new Date('-002013-06-07T14:21:46.295Z')).toISOString() === '-002013-06-07T14:21:46.295Z'

Also added supporting unit tests.

@Marsup Marsup self-assigned this Jan 15, 2017
@Marsup Marsup added the feature New functionality or improvement label Jan 15, 2017
@Marsup Marsup added this to the 10.2.0 milestone Jan 15, 2017
@Marsup Marsup merged commit 1d437b4 into hapijs:master Jan 15, 2017
@Marsup
Copy link
Collaborator

Marsup commented Jan 15, 2017

Thanks a lot !

@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