Opened 17 years ago
Closed 17 years ago
#5951 closed defect (invalid)
Problem with date format while editing version information using webadmin
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | admin/web | Version: | 0.10.4 |
Severity: | normal | Keywords: | versions, admin, manage versions |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The problem arise when I access Admin→Versions (Manage Versions page) in Trac 0.10.4 through the Webadmin interface.
If i enter the date 09/15/2007 or 9/15/2007 according to the suggestion "Format: MM/DD/YY" I get the following error:
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.4/site-packages/TracWebAdmin-0.1.2-py2.4.egg/webadmin/web_ui.py", line 109, in process_request
path_info)
File "/usr/local/lib/python2.4/site-packages/TracWebAdmin-0.1.2-py2.4.egg/webadmin/ticket.py", line 224, in process_admin_request
ver.time = util.parse_date(req.args.get('time'))
File "/usr/local/lib/python2.4/site-packages/trac/util/datefmt.py", line 114, in parse_date
raise ValueError, '%s is not a known date format.' % text
ValueError: 9/15/2007 is not a known date format.
I inserted the wrong date (2007). Sorry :P