Skip to content
Permalink
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

@renan

This comment has been minimized.

Copy link
Member

renan 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: http://serverfault.com/questions/54591/how-to-install-change-locale-on-debian

@markstory

This comment has been minimized.

Copy link
Member Author

markstory 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.