Jump to content

Time format for Indonesian

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',
);
Siebrand06:21, 27 April 2011

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',
);
IvanLanin07:07, 27 April 2011

Done Done mwr:87004. I have added mdy anyway. Not certain if it could be omitted. dmy should be default.

Siebrand09:47, 27 April 2011

Thanks, Siebrand.

IvanLanin15:11, 27 April 2011
 

I'd remove formats that are not used. Listing all of those is just ugly heritage.

Nike20:36, 27 April 2011

I've tried removing the mdy but the option still showed up in Special:Preferences with the default format (from en).

IvanLanin04:32, 28 April 2011

There is other variable which defines the list of formats shown.

Nike08:23, 28 April 2011
 

Done Done mwr:87065.

Siebrand08:35, 28 April 2011

Special:Preferences has changed now. It looks good. Thanks!

IvanLanin08:44, 28 April 2011
 
 

Thanks for the changes. For future reference, see Ejaan Yang Disempurnakan V.A.4 (in Indonesian language)

Bennylin07:21, 29 April 2011

I'd rather be able to refer to a standard (like CLDR).

Siebrand08:37, 29 April 2011

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.

IvanLanin10:12, 29 April 2011

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.

Siebrand10:17, 29 April 2011

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.

IvanLanin10:22, 29 April 2011

Might have been me, might have been Gerard. We have the same thoughts on the subject :). Just sent out a tweet about it. Who knows :).

Siebrand10:44, 29 April 2011

RT-ed :) Let's cross fingers :)

IvanLanin10:53, 29 April 2011