Skip to content

Commit

Permalink
Fix strange behaviour with project logged time display.
Browse files Browse the repository at this point in the history
The string '8100' was converted to '04:30' instead of '02:15'.
  • Loading branch information
remcotolsma committed Mar 12, 2024
1 parent f13ec97 commit 3ab926c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function () {
$project_post->project_id,
$project_post->principal_name,
$project_post->post_title,
isset( $project_post->project_logged_time ) ? \orbis_time( $project_post->project_logged_time ) . ' / ' . \orbis_time( $project_post->project_number_seconds ) : \orbis_time( $project_post->project_number_seconds )
isset( $project_post->project_logged_time ) ? \orbis_time( (int) $project_post->project_logged_time ) . ' / ' . \orbis_time( (int) $project_post->project_number_seconds ) : \orbis_time( (int) $project_post->project_number_seconds )
);
},
]
Expand Down

0 comments on commit 3ab926c

Please sign in to comment.