mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 02:04:38 +00:00
Removed type conversions where no longer needed
PHP 8.1 PDO SQLite now returns native data types
This commit is contained in:
@@ -37,7 +37,7 @@ Grocy.Components.ChoreCard.Refresh = function(choreId)
|
||||
}
|
||||
else
|
||||
{
|
||||
$('#chorecard-average-execution-frequency').text(moment.duration(parseInt(choreDetails.average_execution_frequency_hours) / 24, "days").humanize());
|
||||
$('#chorecard-average-execution-frequency').text(moment.duration(choreDetails.average_execution_frequency_hours / 24, "days").humanize());
|
||||
}
|
||||
|
||||
RefreshContextualTimeago(".chorecard");
|
||||
|
Reference in New Issue
Block a user