id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 12489 ValueError: year=1899 is before 1900; the datetime strftime() methods require year >= 1900 Ryan J Ollos Ryan J Ollos "Maybe we can raise a `TracError` for this case, or add/or a warning to the timeline page. {{{ 2016-05-26 14:42:07,161 Trac[main] ERROR: Internal Server Error: , referrer 'https://bugs.jqueryui.com/' Traceback (most recent call last): File ""/var/www/bugs.jqueryui.com/private/pve/local/lib/python2.7/site-packages/trac/web/main.py"", line 562, in _dispatch_request dispatcher.dispatch(req) File ""/var/www/bugs.jqueryui.com/private/pve/local/lib/python2.7/site-packages/trac/web/main.py"", line 249, in dispatch resp = chosen_handler.process_request(req) File ""/var/www/bugs.jqueryui.com/private/pve/local/lib/python2.7/site-packages/trac/timeline/web_ui.py"", line 251, in process_request format='%Y-%m-%d', tzinfo=req.tz) File ""/var/www/bugs.jqueryui.com/private/pve/local/lib/python2.7/site-packages/trac/util/datefmt.py"", line 318, in format_date return _format_datetime(t, format, tzinfo, locale, 'date') File ""/var/www/bugs.jqueryui.com/private/pve/local/lib/python2.7/site-packages/trac/util/datefmt.py"", line 299, in _format_datetime return _format_datetime_without_babel(t, format) File ""/var/www/bugs.jqueryui.com/private/pve/local/lib/python2.7/site-packages/trac/util/datefmt.py"", line 246, in _format_datetime_without_babel text = t.strftime(str(format)) ValueError: year=1899 is before 1900; the datetime strftime() methods require year >= 1900 }}}" defect closed normal 1.0.12 general 1.0.11 normal fixed datetime Fix `ValueError` in timeline when prev/next navigation items directed to a year prior to 1900.