Skip to content
Second module I developed and donated to Mage-OS Lab: Admin User Time Zone. Small, focused, useful on any project with a distributed team or clients in different time zones.
Mage OS · Updated on · 3 min read

Second module I developed and donated to Mage-OS Lab: Admin User Time Zone. Small, focused, useful on any project with a distributed team or clients in different time zones.

The problem

Magento uses a single global time zone for the entire admin panel. Every date and time displayed in the backend — from orders to logs, from reports to schedules — is shown in the time zone configured at system level, regardless of where the user reading it is located.

On a team all in the same city this is not a problem. It becomes one as soon as you work with colleagues in other countries, with clients in different time zones, or on multi-store installations covering international markets. Misaligned dates cause errors, misunderstandings and wasted time.

The solution

The module adds a timezone column to the admin_user table through a Data Patch, and intercepts Magento\Framework\Stdlib\DateTime\Timezone::getConfigTimezone in the adminhtml area: if the logged-in user has a personal time zone set, that one is used; otherwise the system transparently falls back to the site’s global time zone.

The behavior is surgical — it only acts in the admin area, touches nothing on the frontend, and has no impact on anyone who doesn’t configure the field.

How to use it

Installation:

composer require mage-os/module-admin-user-time-zone
bin/magento setup:upgrade

Configuration: System → All Users, open the desired user and set the Timezone field with a valid PHP identifier (e.g. Europe/Rome, America/New_York, Asia/Tokyo). If left empty, the system uses the site’s global time zone.

No additional configuration required. It works right away.

Why open source

It’s one of those modules that many people have probably already rewritten at least once on a project. It makes sense to have it in one place, maintained by the community, available for free. It’s on GitHub under mage-os-lab: github.com/mage-os-lab/module-admin-user-time-zone

The module is free. Full details, features and requirements are on the Threecommerce module page (in Italian): Fuso orario per utente admin Magento 2.

You might also like