Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix BC dates in the range index DateConverter #1200
In our project we have to deal with dates BC, like "-300" or "-0004-03-29" that, when indexed, have to be normalized using the DateConverter (which should definitely be documented somewhere... utter happiness ensued when I stumbled upon this while digging through the sources
These changes make the converter work correctly with negative (BC) dates. Would be excellent if this could go into 3.0.