diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2023-07-24 16:52:49 +0200 |
---|---|---|
committer | Daniel <mail@danielkesselberg.de> | 2023-07-27 13:57:02 +0200 |
commit | 06248cda0a21180ee732f8927b471da1f56f2dfe (patch) | |
tree | 0d14515ac3d25738e7acd6a2a10ebf9bf30fdc59 /tests/lib/L10N/L10nTest.php | |
parent | 22c7d3f6a330cf549743762190b9e80baaebc5e8 (diff) | |
download | nextcloud-server-06248cda0a21180ee732f8927b471da1f56f2dfe.tar.gz nextcloud-server-06248cda0a21180ee732f8927b471da1f56f2dfe.zip |
chore: update expected timezone from GMT+0 to UTC
Punic 3.2.0 added support for timezone translations and returns UTC instead of GMT+0 now.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'tests/lib/L10N/L10nTest.php')
-rw-r--r-- | tests/lib/L10N/L10nTest.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/lib/L10N/L10nTest.php b/tests/lib/L10N/L10nTest.php index 67ad5843546..79f85e892c7 100644 --- a/tests/lib/L10N/L10nTest.php +++ b/tests/lib/L10N/L10nTest.php @@ -118,20 +118,20 @@ class L10nTest extends TestCase { public function localizationData() { return [ // timestamp as string - ['February 13, 2009 at 11:31:30 PM GMT+0', 'en', 'en_US', 'datetime', '1234567890'], - ['13. Februar 2009 um 23:31:30 GMT+0', 'de', 'de_DE', 'datetime', '1234567890'], + ['February 13, 2009 at 11:31:30 PM UTC', 'en', 'en_US', 'datetime', '1234567890'], + ['13. Februar 2009 um 23:31:30 UTC', 'de', 'de_DE', 'datetime', '1234567890'], ['February 13, 2009', 'en', 'en_US', 'date', '1234567890'], ['13. Februar 2009', 'de', 'de_DE', 'date', '1234567890'], - ['11:31:30 PM GMT+0', 'en', 'en_US', 'time', '1234567890'], - ['23:31:30 GMT+0', 'de', 'de_DE', 'time', '1234567890'], + ['11:31:30 PM UTC', 'en', 'en_US', 'time', '1234567890'], + ['23:31:30 UTC', 'de', 'de_DE', 'time', '1234567890'], // timestamp as int - ['February 13, 2009 at 11:31:30 PM GMT+0', 'en', 'en_US', 'datetime', 1234567890], - ['13. Februar 2009 um 23:31:30 GMT+0', 'de', 'de_DE', 'datetime', 1234567890], + ['February 13, 2009 at 11:31:30 PM UTC', 'en', 'en_US', 'datetime', 1234567890], + ['13. Februar 2009 um 23:31:30 UTC', 'de', 'de_DE', 'datetime', 1234567890], ['February 13, 2009', 'en', 'en_US', 'date', 1234567890], ['13. Februar 2009', 'de', 'de_DE', 'date', 1234567890], - ['11:31:30 PM GMT+0', 'en', 'en_US', 'time', 1234567890], - ['23:31:30 GMT+0', 'de', 'de_DE', 'time', 1234567890], + ['11:31:30 PM UTC', 'en', 'en_US', 'time', 1234567890], + ['23:31:30 UTC', 'de', 'de_DE', 'time', 1234567890], // DateTime object ['February 13, 2009 at 11:31:30 PM GMT+0', 'en', 'en_US', 'datetime', new DateTime('@1234567890')], |