From: Hamatoma Date: Wed, 26 Feb 2025 22:58:29 +0000 (+0100) Subject: - Total summary X-Git-Url: https://gitweb.hamatoma.de/?a=commitdiff_plain;h=b46e8a74a7e89d5fa62a20cd1f6affa8adf10de4;p=oo4f.git - Total summary --- diff --git a/CHANGELOG.md b/CHANGELOG.md index fd56538..5adbae8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,10 @@ # V 0.2.8 ExportHelperLocal -- Total summary +- changed duration format + +# V 0.2.8 ExportHelperLocal +- Total summary # V 0.2.7 ExportHelperLocal - ExportHelperLocal: exportHoursAsCsv improved diff --git a/app/Helpers/ExportHelperLocal.php b/app/Helpers/ExportHelperLocal.php index 490d72d..f8c3f96 100644 --- a/app/Helpers/ExportHelperLocal.php +++ b/app/Helpers/ExportHelperLocal.php @@ -8,7 +8,7 @@ class ExportHelperLocal { public static function formatDuration(int $duration): string { - $rc = sprintf("%d:%02d", intval($duration / 60), intval($duration % 60)); + $rc = sprintf("%dh%02dm", intval($duration / 60), intval($duration % 60)); return $rc; } public static function exportHoursAsCsv(array &$records): string