Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Timezone Sync

No security coverage Maintenance fixes only 27 sites

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.

Drupal 10–11

Ask your assistant about Timezone Sync

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

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

Release Timeline

Releases

Version Type Core PHP 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