Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -547,7 +547,8 @@ |
548 | 548 | * (bug 787) external links being rendered when they only have one slash |
549 | 549 | * Fixed a missing typecast in Language::dateFormat() that would cause some |
550 | 550 | interesting errors with signitures. |
551 | | - |
| 551 | +* (bug 2764) Number format for Nds |
| 552 | + |
552 | 553 | === Caveats === |
553 | 554 | |
554 | 555 | Some output, particularly involving user-supplied inline HTML, may not |
Index: trunk/phase3/languages/LanguageNds.php |
— | — | @@ -1488,6 +1488,9 @@ |
1489 | 1489 | } |
1490 | 1490 | } |
1491 | 1491 | |
| 1492 | + function formatNum( $number, $year = false ) { |
| 1493 | + return $year ? $number : strtr($this->commafy($number), '.,', ',.' ); |
| 1494 | + } |
1492 | 1495 | } |
1493 | 1496 | |
1494 | 1497 | ?> |