Fixes #262 improves compatibility with Mac/Win when converting times.
authorDan Marsden <dan@danmarsden.com>
Wed, 17 May 2017 09:11:11 +0000 (21:11 +1200)
committerDan Marsden <dan@danmarsden.com>
Wed, 17 May 2017 09:12:10 +0000 (21:12 +1200)
lang/en/attendance.php

index 6ace7e9..61c1b21 100644 (file)
@@ -275,10 +275,10 @@ $string['statusset'] = 'Status set {$a}';
 $string['statussetsettings'] = 'Status set';
 $string['strftimedm'] = '%b %d';
 $string['strftimedmy'] = '%d %b %Y';
-$string['strftimedmyhm'] = '%d %b %Y %I.%M%P'; // Line added to allow multiple sessions in the same day.
+$string['strftimedmyhm'] = '%d %b %Y %I.%M%p'; // Line added to allow multiple sessions in the same day.
 $string['strftimedmyw'] = '<nobr>%a %d %b %Y</nobr>';
-$string['strftimeh'] = '%l%P';
-$string['strftimehm'] = '%l:%M%P';
+$string['strftimeh'] = '%I%p';
+$string['strftimehm'] = '%I:%M%p';
 $string['strftimeshortdate'] = '%d.%m.%Y';
 $string['studentid'] = 'Student ID';
 $string['studentpassword'] = 'Student password';