Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

feat(dateparser): use 68 as the pivot year when year format is yy. #5735

Closed
wants to merge 1 commit into from
Closed

feat(dateparser): use 68 as the pivot year when year format is yy. #5735

wants to merge 1 commit into from

Conversation

RobJacobs
Copy link
Contributor

Use the same pivot year (68) for 2 digit date years as moment.js. 68 becomes 2068, 69 becomes 1969.

- Use the same pivot year (68) for 2 digit date years as moment.js.
68 becomes 2068, 69 becomes 1969.

Closes #5735
@wesleycho
Copy link
Contributor

Works for me, although this probably will become outdated in a few decades :P .

@wesleycho wesleycho added this to the 1.3.0 milestone Apr 4, 2016
@wesleycho wesleycho closed this in 701e0cb Apr 4, 2016
@RobJacobs RobJacobs deleted the dateparser-pivotyr branch April 4, 2016 15:58
@icfantv
Copy link
Contributor

icfantv commented Apr 4, 2016

If this library is still valid in several decades, we have loads of other problems.... :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants