Project

General

Profile

Actions

Patch #7419

closed

changeset.rb does not recognize time entries like @1h30m

Added by Tom Freudenberg almost 14 years ago. Updated over 13 years ago.

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

Is duplicate of Redmine - Defect #7630: Spent time in commits not recognizedClosed2011-02-15

Actions
Actions #1

Updated by Toshi MARUYAMA over 13 years ago

  • Category set to SCM
Actions #2

Updated by Toshi MARUYAMA over 13 years ago

  • Category changed from SCM to Time tracking
Actions #3

Updated by Toshi MARUYAMA over 13 years ago

  • Status changed from New to Closed

Duplicate with #7630.

Actions

Also available in: Atom PDF