From a359fe7e6a7e43c2253aeca96b594dc25bece3d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20M=C3=BCller?= Date: Fri, 17 Oct 2014 10:50:46 +0200 Subject: [PATCH] adding unit tests for en_GB and en-GB - just to verify --- tests/lib/l10n.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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')), ); } -- 2.39.5