What I want is to change the way drupal views get the site’s timezone setting. I want to set it manually in code.
Searching through the files I noticed that the function “views_get_timezone()
” in sites/all/modules/views/includes/handlers.inc @1182
(drupal 7) is responsible for getting the timezone and setting the session.time_zone
in mysql, but when I change it nothing happens.
Any suggestion anyone for this or any similar solution? I just want to make a site with multiple timezones for anonymous users so I want to change the session.time_zone in mysql according the user location.
Thanks
Sponsored by SupremePR