Date format

Date format

от Mitsuhiro Yoshida -
Number of replies: 2
Снимка на Core developers Снимка на Documentation writers Снимка на Particularly helpful Moodlers Снимка на Translators
Hi Martin!!

Thanks for changing some cords for multibyte language.

Let me give you one suggestion today усмивка
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
In reply to Mitsuhiro Yoshida

Re: Date format

от Martin Dougiamas -
Снимка на Core developers Снимка на Documentation writers Снимка на Moodle HQ Снимка на Particularly helpful Moodlers Снимка на Plugin developers Снимка на 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

от Mitsuhiro Yoshida -
Снимка на Core developers Снимка на Documentation writers Снимка на Particularly helpful Moodlers Снимка на 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 усмивка