From 402dc172b65f5315458ab6ca4acf15fd2127c417 Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Thu, 29 Sep 2011 14:38:23 +0200 Subject: fixed shift length display --- includes/pages/user_myshifts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/pages/user_myshifts.php') diff --git a/includes/pages/user_myshifts.php b/includes/pages/user_myshifts.php index 9f344d6d..4dc4cc81 100644 --- a/includes/pages/user_myshifts.php +++ b/includes/pages/user_myshifts.php @@ -21,7 +21,7 @@ function user_myshifts() { return template_render('../templates/user_shifts_add.html', array ( 'angel' => $user['Nick'], - 'date' => date("Y-m-d H:i", $shift['start']) . ', ' . date("H", $shift['end'] - $shift['start']) . ' h', + 'date' => date("Y-m-d H:i", $shift['start']) . ', ' . shift_length($shift), 'location' => $shift['Name'], 'title' => $shift['name'], 'type' => $shift['angel_type'], -- cgit v1.2.3-54-g00ecf