Time format for Indonesian
Hi. Indonesian format for time is H.i (with dot, not colon). How can I change this, especially in Special:RecentChanges? Thanks.
For MediaWiki, date and time settings are set in MessagesId.php (for Indonesian). This functionality is not supported in the Translate extension, but of course we can help you get it right.
These are the English language settings.
$dateFormats = array(
'mdy time' => 'H:i',
'mdy date' => 'F j, Y',
'mdy both' => 'H:i, F j, Y',
'dmy time' => 'H:i',
'dmy date' => 'j F Y',
'dmy both' => 'H:i, j F Y',
'ymd time' => 'H:i',
'ymd date' => 'Y F j',
'ymd both' => 'H:i, Y F j',
);
I assume you want this changed to this? If OK, just let me know. Otherwise, please reply with updated settings for Indonesian.
$dateFormats = array(
'mdy time' => 'H.i',
'mdy date' => 'F j, Y',
'mdy both' => 'H.i, F j, Y',
'dmy time' => 'H.i',
'dmy date' => 'j F Y',
'dmy both' => 'H.i, j F Y',
'ymd time' => 'H.i',
'ymd date' => 'Y F j',
'ymd both' => 'H.i, Y F j',
);
Yes, please. We never (very rarely) use mdy format. Can we remove that format or we still need to maintain it for MediaWiki? Can we also write the time after the date (common usage)?
These are the updated settings, providing that the answer for both questions above are "yes". If not, then your original suggested settings are OK. Thanks! :)
$dateFormats = array(
'dmy time' => 'H.i',
'dmy date' => 'j F Y',
'dmy both' => 'j F Y H.i',
'ymd time' => 'H.i',
'ymd date' => 'Y F j',
'ymd both' => 'Y F j H.i',
);
Done mwr:87004. I have added mdy anyway. Not certain if it could be omitted. dmy should be default.
I've tried removing the mdy but the option still showed up in Special:Preferences with the default format (from en).
Thanks for the changes. For future reference, see Ejaan Yang Disempurnakan V.A.4 (in Indonesian language)
The reference pointed by Bennylin is our national standard. I've been trying to find someone that has access to CLDR but haven't found any.
We'd love to have an active liaison with CLDR, because I think we could be a great data supplier to it. Unfortunately we don't and our current staff cannot facilitate it.
Yes. I do aware of that and I agree with your statement. If I'm not mistaken, I've talked about this with you (or was it GerardM?). I'll try to help to find one if I can.