Opened 8 years ago

Last modified 7 years ago

#12627 closed enhancement

Call TracHoursPlugin directly instead of posting comments — at Initial Version

Reported by: Robert Becker Owned by: Colin Guthrie
Priority: normal Component: WorkLogPlugin
Severity: normal Keywords:
Cc: trac-hacks.org@… Trac Release:

Description

I have created a small patch which calls the corresponding method of TracHoursPlugin directly to post the worked time instead of creating a comment which is to be parsed by TracHoursByComment.

This may cause hours to be counted twice if WorkLogPlugin is set to create comments and TracHoursByComment is enabled. If noted in the wiki I think this is a rather light tradeoff for being able to skip comments at all. Alternatively the comment message could be changed to "worked X hours and Y minutes" which won't be parsed by TracHoursByComment.

Change History (0)

Note: See TracTickets for help on using tickets.