|
@@ -1,5 +1,6 @@
|
|
|
/* Copyright (C) 2014 delcroip <delcroip@gmail.com>
|
|
|
* Copyright (C) 2015-2017 Laurent Destailleur <eldy@users.sourceforge.net>
|
|
|
+ * Copyright (C) 2021 Josep Lluís Amador <joseplluis@lliuretic.cat>
|
|
|
*
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
@@ -257,7 +258,7 @@ function updateTotal(days,mode)
|
|
|
result=parseTime(jQuery('.totalDay'+stringdays).text(),taskTime);
|
|
|
if (result >= 0)
|
|
|
{
|
|
|
- totalhour = totalhour + taskTime.getHours();
|
|
|
+ totalhour = totalhour + taskTime.getHours() + result*24;
|
|
|
totalmin = totalmin + taskTime.getMinutes();
|
|
|
}
|
|
|
}
|