aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-03-06 10:11:10 +0000
committerMario <mario@mariovavti.com>2020-03-06 10:11:10 +0000
commitce4fc304393001771e906af1f2e2702a1820eaa2 (patch)
treeba3158e5f322856859e814027bbfe646ba46c182 /include
parentb39474456f877f776158401e4de6dd5cd7d5df30 (diff)
downloadvolse-hubzilla-ce4fc304393001771e906af1f2e2702a1820eaa2.tar.gz
volse-hubzilla-ce4fc304393001771e906af1f2e2702a1820eaa2.tar.bz2
volse-hubzilla-ce4fc304393001771e906af1f2e2702a1820eaa2.zip
use 24h time format
Diffstat (limited to 'include')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 3c1d4c996..5d1cf6eff 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1881,7 +1881,7 @@ function format_poll($item,$s,$opts) {
}
}
if ($item['comments_closed'] > NULL_DATE) {
- $t = datetime_convert('UTC',date_default_timezone_get(), $item['comments_closed'], 'Y-m-d h:i');
+ $t = datetime_convert('UTC',date_default_timezone_get(), $item['comments_closed'], 'Y-m-d H:i');
$closed = ((datetime_convert() > $item['comments_closed']) ? true : false);
if ($closed) {
$message = t('Poll has ended.');