Knowledge Base
Published Jul. 2, 2025

Adding More Australian Time Zones

Written By

Brian Suh

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Introduction

By default, Liferay has a list of Australian time zones that don't account for regional rules related to daylight savings time. For example, Brisbane (Queensland) will remain on AEST (UTC+10:00) throughout the year, whereas Sydney (New South Wales) observes daylight savings time and shifts to AEDT (UTC+11:00) in October. However, you can add additional time zones to reflect Australia's regional time zone rules.

In this article, you'll add these Australian time zones to your Liferay instance.

Environment

  • Liferay DXP 7.0+

Steps

  1. Go to your LIFERAY_HOME/ folder and open the portal-ext.properties file.
    This file includes specific portal configurations. You'll include the time.zones property in the file and adjust it to include various regions in Australia.
    NOTE
    These are the default time zones that Liferay provides:
    • Australia/Adelaide
    • Australia/Brisbane
    • Australia/Broken_Hill
    • Australia/Darwin
    • Australia/Eucla
    • Australia/Hobart
    • Australia/Lord_Howe
    • Australia/Melbourne
    • Australia/Perth
    • Australia/Sydney
  2. Add this code snippet to the portal-ext.properties file:
    time.zones=\
    Pacific/Midway,\
    Pacific/Honolulu,\
    America/Anchorage,\
    America/Los_Angeles,\
    America/Phoenix,\
    America/Denver,\
    America/Chicago,\
    America/New_York,\
    America/Caracas,\
    America/Puerto_Rico,\
    America/St_Johns,\
    America/Sao_Paulo,\
    America/Noronha,\
    Atlantic/Azores,\
    UTC,\
    Europe/Lisbon,\
    Europe/Paris,\
    Europe/Istanbul,\
    Asia/Jerusalem,\
    Asia/Baghdad,\
    Asia/Tehran,\
    Asia/Dubai,\
    Asia/Kabul,\
    Asia/Karachi,\
    Asia/Calcutta,\
    Asia/Katmandu,\
    Asia/Dhaka,\
    Asia/Rangoon,\
    Asia/Saigon,\
    Asia/Shanghai,\
    Asia/Tokyo,\
    Asia/Seoul,\
    Australia\Adelaide,\
    Australia\Brisbane,\
    Australia\Broken_Hill,\
    Australia\Darwin,\
    Australia\Eucla,\
    Australia\Hobart,\
    Australia\Lord_Howe,\
    Australia\Melbourne,\
    Australia\Perth,\
    Australia\Sydney,\
    Pacific/Guadalcanal,\
    Pacific/Auckland,\
    Pacific/Enderbury,\
    Pacific/Kiritimati
    Once added, you can see that the aforementioned time zones are included in the Time Zone selector in Liferay DXP.
  3. Start or restart the portal and verify the time zones you added are present.

Additional Information

Did this article resolve your issue ?

Knowledge Base