summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorscambra <sergio@entrecables.com>2012-06-07 14:44:59 +0200
committerscambra <sergio@entrecables.com>2012-10-16 20:19:35 +0200
commitec253f1354b6993cf204ee60ec87350119a3c91e (patch)
tree0b8d8fd2efdf6c74bcacba7822fb96c5736e518e /core
parente7c9d5fe54ec619793ae77829b93df4635279662 (diff)
downloadnextcloud-server-ec253f1354b6993cf204ee60ec87350119a3c91e.tar.gz
nextcloud-server-ec253f1354b6993cf204ee60ec87350119a3c91e.zip
Use strftime to format date with translated month names
Diffstat (limited to 'core')
-rw-r--r--core/l10n/l10n-de.php6
-rw-r--r--core/l10n/l10n-en.php5
-rw-r--r--core/l10n/l10n-es.php5
3 files changed, 13 insertions, 3 deletions
diff --git a/core/l10n/l10n-de.php b/core/l10n/l10n-de.php
index f3084b05df8..976f8ce3c51 100644
--- a/core/l10n/l10n-de.php
+++ b/core/l10n/l10n-de.php
@@ -1,5 +1,5 @@
<?php
$LOCALIZATIONS = array(
- 'date' => 'd.m.Y',
- 'datetime' => 'd.m.Y H:i:s',
- 'time' => 'H:i:s' );
+ 'date' => '%d.%m.%Y',
+ 'datetime' => '%d.%m.%Y %H:%M:%S',
+ 'time' => '%H:%M:%S' );
diff --git a/core/l10n/l10n-en.php b/core/l10n/l10n-en.php
new file mode 100644
index 00000000000..3a050d477ce
--- /dev/null
+++ b/core/l10n/l10n-en.php
@@ -0,0 +1,5 @@
+<?php
+$LOCALIZATIONS = array(
+ 'date' => '%B %e, %Y',
+ 'datetime' => '%B %e, %Y %H:%M',
+ 'time' => '%H:%M:%S' );
diff --git a/core/l10n/l10n-es.php b/core/l10n/l10n-es.php
new file mode 100644
index 00000000000..b81464b491a
--- /dev/null
+++ b/core/l10n/l10n-es.php
@@ -0,0 +1,5 @@
+<?php
+$LOCALIZATIONS = array(
+ 'date' => '%e de %B de %Y',
+ 'datetime' => '%e de %B de %Y %H:%M',
+ 'time' => '%H:%M:%S' );