Modify

Opened 8 years ago

Closed 8 years ago

#1554 closed defect (fixed)

The trac-post-commit script don't recognize time larger than 9 hours

Reported by: didoux Owned by: bobbysmith007
Priority: low Component: TimingAndEstimationPlugin
Severity: trivial Keywords:
Cc: Trac Release: 0.10

Description

As far as I can see, it's just due to the 'new' version (changeset:1852) of the timePattern in the proposed script.

I easily solve this issue by changing the original (line 149)

timePattern = '(?:\((?:(?:(?:spent|sp)[ ])?[0-9]?(?:\.[0-9]+)?)?(?:\))?)?'

to:

timePattern = '(?:\((?:(?:(?:spent|sp)[ ])?[0-9]*(?:\.[0-9]+)?)?(?:\))?)?'

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by bobbysmith007

Thanks much, this is changed and checked in

comment:2 Changed 8 years ago by bobbysmith007

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed The owner will remain bobbysmith007.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.