diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-08-15 17:18:46 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-08-31 10:47:50 +0200 |
commit | c1b11571ea53748d57241598dec71750637416cd (patch) | |
tree | c823c19b77fe4aa62142299ffe5df6b6421be63a /lib/private/l10n.php | |
parent | 298011bf296a4eda62b787bb7c8fbfe30644d488 (diff) | |
download | nextcloud-server-c1b11571ea53748d57241598dec71750637416cd.tar.gz nextcloud-server-c1b11571ea53748d57241598dec71750637416cd.zip |
Move certificate management interface from files_external to core
Diffstat (limited to 'lib/private/l10n.php')
-rw-r--r-- | lib/private/l10n.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/l10n.php b/lib/private/l10n.php index 28b35e92a2f..57886a796cd 100644 --- a/lib/private/l10n.php +++ b/lib/private/l10n.php @@ -354,7 +354,7 @@ class OC_L10N implements \OCP\IL10N { case 'datetime': case 'time': if($data instanceof DateTime) { - return $data->format($this->localizations[$type]); + $data = $data->getTimestamp(); } elseif(is_string($data) && !is_numeric($data)) { $data = strtotime($data); } |