Auto Attendance Block/Module

Re: Date Format

by joe cool -
Number of replies: 0
One other change I made is this:

I noticed the date format displayed was, for example, for December 25, 2008

25.12.08 instead of
12/25/08

In the US, typically the month and day are reversed from the format displayed.

So I changed this file:

moodle-top-level / lang / en_utf8 / block_autoattend.php

as below (commented out and replaced 3 lines near lines 86-89):

//$string['strftimedm'] = '%%d.%%m';
//$string['strftimedmy'] = '%%d.%%m.%%Y';
//$string['strftimedmyw'] = '%%d.%%m.%%y (%%a)';

$string['strftimedm'] = '%%m/%%d';
$string['strftimedmy'] = '%%m%%d/%%Y';
$string['strftimedmyw'] = '%%D';