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_shifts.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes/pages/user_shifts.php') diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index c2648a78..3c2e9330 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -93,7 +93,8 @@ function user_shifts() { $user_text = $user['Nick']; return template_render('../templates/user_shifts_add.html', array ( - 'date' => date("Y-m-d H:i", $shift['start']) . ', ' . date("H:i", $shift['end'] - $shift['start']) . 'h', + //'date' => date("Y-m-d H:i", $shift['start']) . ', ' . date("H:i", $shift['end'] - $shift['start']) . 'h', + 'date' => date("Y-m-d H:i", $shift['start']) . ', ' . shift_length($shift), 'title' => $shift['name'], 'location' => $shift['Name'], 'angel' => $user_text, -- cgit v1.2.3-54-g00ecf