Modify ↓
#11820 closed defect (fixed)
Cannot enter an acceptable date in Schedule Released field.
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | ExtendedVersionPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description
I just installed this plugin on my system.
When I try to enter a date in the Schedule Released field, I get a pop-up calendar. Unfortunately, that provides a date as:
Jun 16, 2014 3:52:37 PM
while the plugin seems to want MM/DD/YY hh:mm:ss
I cannot seem to override the popup calendar. As soon as I type anything in the field, the popup is shown. It changes the field to the wrong format.
Attachments (1)
Change History (8)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
The usage of parse_date
appears to be correct for Trac 0.12, it just doesn't consider the locale, which is needed in Trac 1.0. I suppose we can copy the user_time
function to extendedversion.compat
.
Changed 11 years ago by
Attachment: | extendedversionplugin-r13963.diff added |
---|
Note: See
TracTickets for help on using
tickets.
Reproduced. The issue is caused by wrong use of
parse_date
in the plugin. Could you please try the following patch?extendedversion/version.py