1
0
mirror of https://github.com/dwaxweiler/connector-mobilizon synced 2025-06-05 21:59:25 +02:00

take WordPress time zone into account

This commit is contained in:
Daniel Waxweiler
2021-05-05 10:40:46 +02:00
parent 22c0b22b8e
commit 89145fe9ed
7 changed files with 15 additions and 8 deletions

View File

@@ -31,6 +31,7 @@ class EventsListWidget extends \WP_Widget {
$groupName = isset($options['groupName']) ? $options['groupName'] : '';
$url = Settings::getUrl();
$textDomain = TEXT_DOMAIN;
$timeZone = get_option('timezone_string');
require dirname(__DIR__) . '/view/events-list.php';