Skip to content

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

Merged
Marsup merged 1 commit intohapijs:masterfrom
kfitzgerald:iso-expansion
Jan 15, 2017
Merged

Added support for ISO_8601 expansion (+/-YYYYYY)#1076
Marsup merged 1 commit intohapijs:masterfrom
kfitzgerald:iso-expansion

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