Actions
Patch #7419
closedchangeset.rb does not recognize time entries like @1h30m
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Time tracking
Target version:
-
Start date:
2011-01-24
Due date:
% Done:
0%
Estimated time:
Description
When using time loggin from repository, there will be only the hour information pushed to time logging. I think, that this happens while using non greede REGEX. I have changed the order for TIMELOG_RE in source changeset.rb
@@ -97,11 +97,11 @@ class Changeset < ActiveRecord::Base
TIMELOG_RE = /
(
- (\d+([.,]\d+)?)h?
- |
(\d+):(\d+)
|
((\d+)(h|hours?))?((\d+)(m|min)?)?
+ |
+ (\d+([.,]\d+)?)h?
)
/x
Related issues
Updated by Toshi MARUYAMA almost 14 years ago
- Category changed from SCM to Time tracking
Updated by Toshi MARUYAMA almost 14 years ago
- Status changed from New to Closed
Duplicate with #7630.
Actions