Skip to content
Browse files

Switch to de_DE

nl_NL doesn't seem to exist on the ci server.
  • Loading branch information...
markstory committed Jun 19, 2012
1 parent 001e89b commit 77fc8a9d33eee8c493b68750d4e9bc097dbf8043
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/Utility/CakeNumberTest.php
@@ -491,7 +491,7 @@ public function testToReadableSize() {
public function testReadableSizeLocalized() {
$restore = setlocale(LC_NUMERIC, 0);
setlocale(LC_NUMERIC, 'nl_NL');
setlocale(LC_NUMERIC, 'de_DE');
$result = $this->Number->toReadableSize(1321205);
$this->assertEquals('1,26 MB', $result);

2 comments on commit 77fc8a9


This comment has been minimized.

Copy link

replied Jun 19, 2012

Perhaps you need to install the locale on the server.

Once I was trying to use nl_NL.UTF8 but only the nl_NL was installed. Check this out:


This comment has been minimized.

Copy link
Member Author

replied Jun 19, 2012

Its not a huge deal as nl_NL and de_DE have the same number formatting rules, which is what I wanted.

Please sign in to comment.
You can’t perform that action at this time.