summaryrefslogtreecommitdiff
path: root/includes/view
diff options
context:
space:
mode:
authorFelix Favre <felix.favre@protonet.info>2015-08-26 15:00:10 +0200
committerFelix Favre <felix.favre@protonet.info>2015-08-26 15:00:48 +0200
commite4bd324801d881f29d342e4826324c193d88d77d (patch)
treeb488d97d567ff6cce056da08f3e65a4e26674417 /includes/view
parent1af6b8cf2082411362112200c094e0b9d96eb6a5 (diff)
changed all y-m-d date formats to Y-m-d date formats
part of #202
Diffstat (limited to 'includes/view')
-rw-r--r--includes/view/Shifts_view.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/view/Shifts_view.php b/includes/view/Shifts_view.php
index b0628a3b..c67ca740 100644
--- a/includes/view/Shifts_view.php
+++ b/includes/view/Shifts_view.php
@@ -87,7 +87,7 @@ function Shift_view($shift, $shifttype, $room, $shift_admin, $angeltypes_source,
div('col-sm-3 col-xs-6', [
'<h4>' . _('Start') . '</h4>',
'<p class="lead' . (time() >= $shift['start'] ? ' text-success' : '') . '">',
- glyph('calendar') . date('y-m-d', $shift['start']),
+ glyph('calendar') . date('Y-m-d', $shift['start']),
'<br />',
glyph('time') . date('H:i', $shift['start']),
'</p>'
@@ -95,7 +95,7 @@ function Shift_view($shift, $shifttype, $room, $shift_admin, $angeltypes_source,
div('col-sm-3 col-xs-6', [
'<h4>' . _('End') . '</h4>',
'<p class="lead' . (time() >= $shift['end'] ? ' text-success' : '') . '">',
- glyph('calendar') . date('y-m-d', $shift['end']),
+ glyph('calendar') . date('Y-m-d', $shift['end']),
'<br />',
glyph('time') . date('H:i', $shift['end']),
'</p>'