summaryrefslogtreecommitdiff
path: root/includes/view
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-11-15 17:41:02 +0100
committermsquare <msquare@notrademark.de>2016-11-15 17:41:02 +0100
commit5a93050a06e0691b5b2b802bd4147058541ec197 (patch)
treee36c0e01e7bc1b313ddf39200a87d8161abba7a3 /includes/view
parent15243f15fcccfd1f671050144faf2269863df8fc (diff)
localize date rendering for eventconfig info
Diffstat (limited to 'includes/view')
-rw-r--r--includes/view/EventConfig_view.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/view/EventConfig_view.php b/includes/view/EventConfig_view.php
index 682477ff..7c369bb0 100644
--- a/includes/view/EventConfig_view.php
+++ b/includes/view/EventConfig_view.php
@@ -48,17 +48,17 @@ function EventConfig_info($event_config) {
// Event name, start+end date are set
if ($event_config['event_name'] != null && $event_config['event_start_date'] != null && $event_config['event_end_date'] != null) {
- return sprintf(_("%s, from %s to %s"), $event_config['event_name'], date("Y-m-d", $event_config['event_start_date']), date("Y-m-d", $event_config['event_end_date']));
+ return sprintf(_("%s, from %s to %s"), $event_config['event_name'], date("Y-m-d", $event_config['event_start_date']), date(_("Y-m-d"), $event_config['event_end_date']));
}
// Event name, start date are set
if ($event_config['event_name'] != null && $event_config['event_start_date'] != null) {
- return sprintf(_("%s, starting %s"), $event_config['event_name'], date("Y-m-d", $event_config['event_start_date']));
+ return sprintf(_("%s, starting %s"), $event_config['event_name'], date(_("Y-m-d"), $event_config['event_start_date']));
}
// Event start+end date are set
if ($event_config['event_start_date'] != null && $event_config['event_end_date'] != null) {
- return sprintf(_("Event from %s to %s"), date("Y-m-d", $event_config['event_start_date']), date("Y-m-d", $event_config['event_end_date']));
+ return sprintf(_("Event from %s to %s"), date("Y-m-d", $event_config['event_start_date']), date(_("Y-m-d"), $event_config['event_end_date']));
}
// Only event name is set