]> source.dussan.org Git - nextcloud-server.git/commitdiff
adding unit tests for en_GB and en-GB - just to verify
authorThomas Müller <thomas.mueller@tmit.eu>
Fri, 17 Oct 2014 08:50:46 +0000 (10:50 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 20 Oct 2014 13:04:42 +0000 (15:04 +0200)
tests/lib/l10n.php

index 26ad87b60f61cb095a85dd2196138f9f5a3cedb4..a97fa22f05c6939f2da636267a3517e1fbd3cf6e 100644 (file)
@@ -77,6 +77,14 @@ class Test_L10n extends PHPUnit_Framework_TestCase {
                        array('13. Februar 2009', 'de', 'date', new DateTime('@1234567890')),
                        array('11:31:30 PM GMT+0', 'en', 'time', new DateTime('@1234567890')),
                        array('23:31:30 GMT+0', 'de', 'time', new DateTime('@1234567890')),
+
+                       // en_GB
+                       array('13 February 2009 at 23:31:30 GMT+0', 'en_GB', 'datetime', new DateTime('@1234567890')),
+                       array('13 February 2009', 'en_GB', 'date', new DateTime('@1234567890')),
+                       array('23:31:30 GMT+0', 'en_GB', 'time', new DateTime('@1234567890')),
+                       array('13 February 2009 at 23:31:30 GMT+0', 'en-GB', 'datetime', new DateTime('@1234567890')),
+                       array('13 February 2009', 'en-GB', 'date', new DateTime('@1234567890')),
+                       array('23:31:30 GMT+0', 'en-GB', 'time', new DateTime('@1234567890')),
                );
        }