Edgewall Software

Opened 13 years ago

Closed 13 years ago

#5951 closed defect (invalid)

Problem with date format while editing version information using webadmin

Reported by: vm_tbp@… 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:


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


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


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.

Attachments (0)

Change History (1)

comment:1 by vm_tbp@…, 13 years ago

Resolution: invalid
Status: newclosed

I inserted the wrong date (2007). Sorry :P

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.