Modify

Opened 10 years ago

Closed 10 years ago

#1554 closed defect (fixed)

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

Reported by: Florian Seydoux Owned by: Russ Tyndall
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 10 years ago by Russ Tyndall

Thanks much, this is changed and checked in

comment:2 Changed 10 years ago by Russ Tyndall

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Russ Tyndall.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.