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?
to your account
The timestring.Date function is currently called in four places:
There is a bug when timestring.Date is called on 29th February and the year passed is not a leap year:
>>> import timestring
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/graemewatt/.virtualenvs/hepdata/lib/python2.7/site-packages/timestring/Date.py", line 150, in __init__
new_date = new_date.replace(year=year)
ValueError: day is out of range for month
This bug should be worked around or the dependence on timestring.Date removed.
See also codecov/timestring#38, codecov/timestring#39, codecov/timestring#62, codecov/timestring#63.
The text was updated successfully, but these errors were encountered:
No branches or pull requests