summaryrefslogtreecommitdiff
path: root/includes/pages/user_shifts.php
diff options
context:
space:
mode:
authorJan-Philipp Litza <janphilipp@litza.de>2012-12-29 14:41:09 +0100
committerJan-Philipp Litza <janphilipp@litza.de>2012-12-29 14:41:09 +0100
commit2d0b2542c9af24a9ec4dd05010bc554010151e61 (patch)
tree135d4ab087eb6666e44729a3a9b90435bb0b1a7e /includes/pages/user_shifts.php
parentb60603d76c286937875afb0ba267be3d7f880a21 (diff)
a few fixes and polishes in myshifts, shifts and menu
Diffstat (limited to 'includes/pages/user_shifts.php')
-rw-r--r--includes/pages/user_shifts.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php
index 7db94247..69c6b27f 100644
--- a/includes/pages/user_shifts.php
+++ b/includes/pages/user_shifts.php
@@ -262,8 +262,7 @@ function user_shifts() {
}
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']) . ', ' . shift_length($shift),
+ 'date' => date("Y-m-d H:i", $shift['start']) . ' &ndash; ' . date('Y-m-d H:i', $shift['end']) . ' (' . shift_length($shift) . ')',
'title' => $shift['name'],
'location' => $shift['Name'],
'angel' => $user_text,