From c2b691fd0153f0b468f9014b4ca1f0f2b339c617 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Fri, 6 Mar 2020 10:33:25 +0100 Subject: Translate 'vote' button text --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/text.php b/include/text.php index 1475ff334..3c1d4c996 100644 --- a/include/text.php +++ b/include/text.php @@ -1892,7 +1892,7 @@ function format_poll($item,$s,$opts) { $output .= EOL . '
' . $message . '
'; } if ($activated and $commentable) { - $output .= EOL . ''. ''; + $output .= EOL . ''. ''; } } -- cgit v1.2.3 From ce4fc304393001771e906af1f2e2702a1820eaa2 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 6 Mar 2020 10:11:10 +0000 Subject: use 24h time format --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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.'); -- cgit v1.2.3