diff options
author | Georg Ehrke <developer@georgehrke.com> | 2017-11-03 10:48:04 +0100 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2017-11-03 11:20:04 +0100 |
commit | e111da777a735d8ba6c38416f1602cbfea4d3eb8 (patch) | |
tree | ed275973e4516183536e59c3a66cadd3ceba7ba5 /lib/private/L10N | |
parent | 43147aeadaa73ada7421b7a9a226bd925dd7e54b (diff) | |
download | nextcloud-server-e111da777a735d8ba6c38416f1602cbfea4d3eb8.tar.gz nextcloud-server-e111da777a735d8ba6c38416f1602cbfea4d3eb8.zip |
Make L10N->l provide weekdayName
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'lib/private/L10N')
-rw-r--r-- | lib/private/L10N/L10N.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/L10N/L10N.php b/lib/private/L10N/L10N.php index 620c99dd1ec..19db04a7cd4 100644 --- a/lib/private/L10N/L10N.php +++ b/lib/private/L10N/L10N.php @@ -169,6 +169,8 @@ class L10N implements IL10N { return (string) Calendar::formatDatetime($value, $width, $locale); case 'time': return (string) Calendar::formatTime($value, $width, $locale); + case 'weekdayName': + return (string) Calendar::getWeekdayName($value, $width, $locale); default: return false; } |