IANA Windows Timezone Converter
A utility plugin that converts IANA timezones to Windows Timezones
by Codex · github.com/sevacloud/iana-windows-timezone-converter
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/sevacloud/iana-windows-timezone-converter/archive/refs/heads/main.zipIANA Windows Timezone Converter (WordPress Plugin)
A lightweight WordPress plugin that provides a frontend tool to convert an IANA timezone to a Windows timezone.
Features
- Shortcode-driven UI:
[iana_windows_tz_converter] - Dropdown of all available IANA timezones from PHP
- AJAX lookup for details:
- IANA timezone
- Windows timezone (via
IntlTimeZone::getWindowsID()when available) - UTC offset (current)
- timezone abbreviation
- DST status
- current local time
- Includes a small fallback mapping for common zones when
ext-intlis unavailable
Installation
- Copy this plugin folder into
wp-content/plugins/. - Activate IANA Windows Timezone Converter in WordPress admin.
- Add shortcode
[iana_windows_tz_converter]to any page/post.
Notes
- Best accuracy for Windows mappings requires PHP
ext-intl(IntlTimeZone). - Fallback mapping includes common zones and
Europe/Istanbul=>Turkey Standard Time.