From: Dan Marsden Date: Wed, 17 May 2017 09:11:11 +0000 (+1200) Subject: Fixes #262 improves compatibility with Mac/Win when converting times. X-Git-Url: http://git.cameron1729.xyz/?a=commitdiff_plain;h=bd3e960ded6c3b34ed97530b8f045a5bef9ffdf5;p=moodle-mod_attendance.git Fixes #262 improves compatibility with Mac/Win when converting times. --- diff --git a/lang/en/attendance.php b/lang/en/attendance.php index 6ace7e9..61c1b21 100644 --- a/lang/en/attendance.php +++ b/lang/en/attendance.php @@ -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'] = '%a %d %b %Y'; -$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';