Skip to content

Commit

Permalink
CS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shinde-rahul committed Aug 25, 2023
1 parent ec5a1f7 commit 6e90c48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/bundles/ReportBundle/Views/Report/details_data.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ function getTotal($a, $f, $t, $allrows, $ac)
// which does not convert back to date simply print the formatted string.
if (in_array($cellType, ['date', 'datetime']) && !strtotime($cellVal)) {
echo $cellVal;
}
else {
} else {
// For grouping by datetime fields, so we don't get the timestamp on them
if ('datetime' === $cellType && 10 === strlen($cellVal)) {
$cellType = 'date';
Expand Down

0 comments on commit 6e90c48

Please sign in to comment.