summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-11-06 15:14:49 +0100
committerGitHub <noreply@github.com>2017-11-06 15:14:49 +0100
commit6c29ce4e027c8cab123acad4d96b16a2754ac20d (patch)
tree639daa8691e2cdde92fb1963efb489d0074ee442 /tests
parent0abb9755b2df8a6a64c9a22d9a234ec73d34bc9c (diff)
parente111da777a735d8ba6c38416f1602cbfea4d3eb8 (diff)
downloadnextcloud-server-6c29ce4e027c8cab123acad4d96b16a2754ac20d.tar.gz
nextcloud-server-6c29ce4e027c8cab123acad4d96b16a2754ac20d.zip
Merge pull request #6402 from nextcloud/dav-email-customization
Enhance calendar invitation emails
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/L10N/L10nTest.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/lib/L10N/L10nTest.php b/tests/lib/L10N/L10nTest.php
index 6d662efee23..703aa9e227c 100644
--- a/tests/lib/L10N/L10nTest.php
+++ b/tests/lib/L10N/L10nTest.php
@@ -164,4 +164,9 @@ class L10nTest extends TestCase {
$l = \OC::$server->getL10N('lib', 'de');
$this->assertEquals('de', $l->getLanguageCode());
}
+
+ public function testWeekdayName() {
+ $l = \OC::$server->getL10N('lib', 'de');
+ $this->assertEquals('Mo.', $l->l('weekdayName', new \DateTime('2017-11-6'), ['width' => 'abbreviated']));
+ }
}