From: Thomas Müller Date: Fri, 17 Oct 2014 08:50:46 +0000 (+0200) Subject: adding unit tests for en_GB and en-GB - just to verify X-Git-Tag: v8.0.0alpha1~451^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a359fe7e6a7e43c2253aeca96b594dc25bece3d9;p=nextcloud-server.git adding unit tests for en_GB and en-GB - just to verify --- diff --git a/tests/lib/l10n.php b/tests/lib/l10n.php index 26ad87b60f6..a97fa22f05c 100644 --- a/tests/lib/l10n.php +++ b/tests/lib/l10n.php @@ -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')), ); }