Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
kimai2-cmd 1.0.1, activeRunning variable
Browse files Browse the repository at this point in the history
  • Loading branch information
infeeeee committed Nov 12, 2019
1 parent b060cac commit cae56eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified @Resources/kimai2-cmd/kimai2-cmd.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion kimai2/kimaiMeasures.inc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ OnUpdateAction=[!PauseMeasure MeasureStartMin]
[MeasureMins]
Measure=Calc
Formula=MeasureCurrTimeMin+#activeMins#-MeasureStartMin
IfCondition=(MeasureMins > 59) && (#activeMins# > 0)
IfCondition=(MeasureMins > 59) && (#activeRunning# = 1)
IfTrueAction=[!SetVariable activeMins (#activeMins#-60)][!SetVariable activeHrs (#activeHrs#+1)]
DynamicVariables=1

Expand Down

0 comments on commit cae56eb

Please sign in to comment.