See maintenance/installExtension.php
* Added Tajic (tg) language file.
* (bug 6903) Added Cantonese localisation (zh-yue)
+* Fix regression in Korean and Japanese date formatting (day of week)
+
== Languages updated ==
/**
* Calculate the day of the week for a 14-character timestamp
- * 0 for Sunday through to 6 for Saturday
+ * 1 for Sunday through to 7 for Saturday
* This takes about 100us on a slow computer
*/
static function calculateWeekday( $ts ) {
- return date( 'w', wfTimestamp( TS_UNIX, $ts ) );
+ return date( 'w', wfTimestamp( TS_UNIX, $ts ) ) + 1;
}
/**