How to change date format in database activity?

How to change date format in database activity?

by Sebastian Gendry -
Number of replies: 1
How can I change the date format in the moodle 2.8.2+ database activity? By default I get a European date format display (day month year). Am in the US however and would prefer a US (short) format such as XX/XX/XXXX (month/day/year).

I tried installing the US language pack (even cleared all cache, just in case) but that does not change the set date format.

Any ideas?

Average of ratings: -
In reply to Sebastian Gendry

Re: How to change date format in database activity?

by Sebastian Gendry -

My apologies for creating this post in the wrong forum category. Am learning.

Just in case the answer is in /moodle/lang/en/langconfig.php, line 39

Change to read $string['strftimedate'] = '%m/%d/%y';

Average of ratings: Useful (2)