This module automatically determines the timezone of anonymous website visitors based on their IP address. It then displays dates and times according to their local timezone, rather than the site's default. Be aware that this can impact site performance.
Based on GeoIP, this module provides timezone information for anonymous users too.
Let's say you have a list like that:
- 08/08/2020 11:00AM
- 09/08/2020 2:00PM
Drupal generally renders it according to the timezone of the user, except for anonymous user, where site default timezone is in use. This module makes it possible for anonymous users to see the dates and times (beware that even dates can change due to timezone difference) in their own local timezone. It is as precise as a GeoIP database can be.
Beware that it significantly decreases the performance of the site, page cache is eliminated, you still have render array caching. Therefore, make sure that you use timezone cache context wisely where needed.
Requirements:
- https://dev.maxmind.com/geoip/geolite2-free-geolocation-data?lang=en
Ask your assistant about Anonymous Timezone
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.1.0 | Stable | 9–10 | PHP >=8.0 | Sep 1, 2023 |