We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The timestring.Date function is currently called in four places:
timestring.Date
hepdata/hepdata/modules/inspire_api/marcxml_parser.py
Line 67 in 896e7f6
Line 180 in 896e7f6
hepdata/hepdata/modules/converter/views.py
Line 281 in 896e7f6
Line 514 in 896e7f6
There is a bug when timestring.Date is called on 29th February and the year passed is not a leap year:
>>> import timestring >>> timestring.Date("2001-07-01") 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:
2b02e62
No branches or pull requests
The
timestring.Date
function is currently called in four places:hepdata/hepdata/modules/inspire_api/marcxml_parser.py
Line 67 in 896e7f6
hepdata/hepdata/modules/inspire_api/marcxml_parser.py
Line 180 in 896e7f6
hepdata/hepdata/modules/converter/views.py
Line 281 in 896e7f6
hepdata/hepdata/modules/converter/views.py
Line 514 in 896e7f6
There is a bug when
timestring.Date
is called on 29th February and the year passed is not a leap year: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: