From: Martin D. <ma...@do...> - 2003-01-16 03:28:13
|
Hi, I've just moved all the date formatting strings out to the language packs, which means you now have control over the date format shown on course formats, postings, logs etc ... The new strings all start with "strftime" and are in moodle.php I've just edited all currrent languages in CVS to add these new strings, so please do a "cvs update" on your copies, or download the latest from http://moodle.com/download/lang All European languages have now been changed to 24 hr time, because AM and PM were not being displayed correctly on some machines. You might want to check these strings to see if there is a more natural way to format these dates in your language. Documentation about the different codes is here: http://www.php.net/manual/en/function.strftime.php Be careful, because certain codes (eg %e) don't display at all on some machines (like Windows). Note that the % characters need to be doubled in the files. eg %d is represented using %%d. If you use the very latest language editor (admin/lang.php) then you shouldn't even notice this ... the strings should look normal and you can edit them normally (the doubling is done automatically). Thanks! Martin -- /* Open-source online learning software: http://moodle.com */ |