Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: PhotoSwipe - Responsive JavaScript Modal Image Gallery 5.0.10 Minor update available for module photoswipe (5.0.10). Release: Twig Tweak 4.0.0-alpha5 New alpha version released for module twig_tweak (4.0.0-alpha5). Release: Bookable Calendar 3.1.0 Minor update available for module bookable_calendar (3.1.0). Release: Animated SDC 1.0.0 Initial release available for module animated_sdc (1.0.0)! Release: ViewMend Site Tracker 1.1.0 Minor update available for module viewmend_site_tracker (1.1.0). Release: Cybersource REST 1.0.2 Minor update available for module cybersource_rest (1.0.2). Release: Fox drush console 1.6.3 Minor update available for module fox (1.6.3). Release: Cybersource SOP 1.0.2 Minor update available for module cybersource_sop (1.0.2). Module Revived: Bootstrap Cloud 7.0.0 Theme bootstrap_cloud updated after 16 months of inactivity (7.0.0). Security Coverage: Unrestricted Page Module unrestricted_page now has official Drupal security advisory coverage.

Timezone Sync

16 sites No security coverage Drupal 10–11
View on drupal.org

This module automatically updates all user timezones to match the site's default when the default is changed and users are not allowed to set their own. It's useful for situations where a site-wide timezone change needs to be enforced across all users.

This module automatically synchronizes the timezone for all users when the default system timezone is changed and the option to allow users to customize their own timezone is turned off.

Features

When this module is enabled and the admin changes the default timezone and the option "Users may set their own time zone" users customize their time zone selection it updates all of the existing users timezones to match the new default timezone.

This module is likely only useful in limited circumstances where a site wants to make a change to the timezone and override any previous timezone choices that were made. This could also be useful for a distribution or automated installation that also creates a number of users and then the default timezone is changed later on in the setup by the user.

If you only need to do this once then it might make sense to just manually run the following command instead via drush rather than install this module.

# Check what system timezone is set to first
drush config:get system.date default_timezone

# Run a database update query via drush
drush php:eval "
\Drupal::database()->update('users_field_data')
->fields(['timezone' => \Drupal::config('system.date')->get('timezone.default')])
->execute();
echo 'Done';
"

Post-Installation

To see it in action go to /admin/config/regional/settings and change the default timezone. If "Users may set their own time zone" is disabled then all of the users will have their time zone set to the newly saved default timezone.

Additional Requirements

This shouldn't require anything other than Drupal Core.

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

Tracked releases
3
Tracked since
Apr 2026
Latest release
1 month ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.2.0 Stable 10–11 Jul 24, 2026
1.0.1 Stable 10–11 Apr 23, 2026
1.0.0 Stable 10–11 Apr 23, 2026