Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2018-10-20 08:41:07 +0300
committerdartcafe <github@dartcafe.de>2018-10-20 08:41:07 +0300
commit4ec8717530cfea92dfbb9fb1766dfcb6671bdb90 (patch)
tree9c44f07860445f6cfa3bfc7100a583301a6e4849 /templates
parent312c1d5db067de28cd5c587cce9fa2dee1234ec0 (diff)
Update templates/goto.tmpl.php
Diffstat (limited to 'templates')
-rw-r--r--templates/goto.tmpl.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/goto.tmpl.php b/templates/goto.tmpl.php
index df5d6f9c..db654191 100644
--- a/templates/goto.tmpl.php
+++ b/templates/goto.tmpl.php
@@ -152,9 +152,8 @@
<?php
foreach ($options as $optionElement) {
if ($poll->getType() === 0) {
- print_unescaped('<li id="slot_' . $optionElement->getId() . '" title="' . $optionElement->getPollOptionText() . ' ' . date_default_timezone_get() . '" class="flex-column vote time has-tooltip" data-timestamp="' . $timestamp . '"data-value-utc="' . $optionElement->getPollOptionText() . '">');
-
$timestamp = strtotime($optionElement->getPollOptionText());
+ print_unescaped('<li id="slot_' . $optionElement->getId() . '" title="' . $optionElement->getPollOptionText() . ' ' . date_default_timezone_get() . '" class="flex-column vote time has-tooltip" data-timestamp="' . $timestamp . '"data-value-utc="' . $optionElement->getPollOptionText() . '">');
print_unescaped(' <div class="date-box flex-column">');
print_unescaped(' <div class="month">' . $l->t(date('M', $timestamp)) . '</div>');
print_unescaped(' <div class="day">' . date('j', $timestamp) . '</div>');