Date format

Date format

by Mitsuhiro Yoshida -
Number of replies: 2
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Translators
Hi Martin!!

Thanks for changing some cords for multibyte language.

Let me give you one suggestion today smile
When I was traslating Moodle into Japanese, I noticet that Date format of Moodle is a little different from Japanese one.

So... if possible could you please add Dateformat valiable to moodle.php? For example "Y/m/d(D) H:i" based on PHP Date function.

[PHP:Date]
http://www.php.net/manual/en/function.date.php
Average of ratings: -
In reply to Mitsuhiro Yoshida

Re: Date format

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Actually, it would need to be strftime() format, but yes, that's a good idea. I assume you're talking about the forum posts - what about dates everywhere else?
In reply to Martin Dougiamas

Re: Date format

by Mitsuhiro Yoshida -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Translators
strftime()!! Good idea.

I'm talking about "Site news", forum too.
For example,
-------------
Moodle 1.0.6.4
- groovy hook, babe by Martin Dougiamas
- Monday, 25 November 2002, 12:02 AM
------------

We use this format,
- 2002/11/25(月) 12:02 AM
or 2002年11月25日(月) 12:02 AM

But I think it very tough to change all dates as flexible format. So please concentrate other development. And if you have extra time please change dates step by step smile