<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Change date format</title>
  <link rel="self" href="https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=365523" />
  <subtitle>Change date format</subtitle>
  <id>https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=365523</id>
  <updated>2026-10-15T12:00:18Z</updated>
  <dc:date>2026-10-15T12:00:18Z</dc:date>
  <entry>
    <title>RE: Change date format</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117208483" />
    <author>
      <name>Suresh Nimmakayala</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117208483</id>
    <updated>2019-09-18T21:45:31Z</updated>
    <published>2019-09-18T21:45:31Z</published>
    <summary type="html">it is easy as in 7.2 , nice feature can configure based on instance</summary>
    <dc:creator>Suresh Nimmakayala</dc:creator>
    <dc:date>2019-09-18T21:45:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: [Liferay Forums][2. Using Liferay]Change date format</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113536555" />
    <author>
      <name>Shahbaz Khan</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113536555</id>
    <updated>2019-05-06T10:10:18Z</updated>
    <published>2019-05-06T10:10:18Z</published>
    <summary type="html">Hi Olaf,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks for the answer.&lt;br /&gt;&lt;br /&gt;As of now I have changed my locale from en_US to en_GB to fix this problem.</summary>
    <dc:creator>Shahbaz Khan</dc:creator>
    <dc:date>2019-05-06T10:10:18Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: [Liferay Forums][2. Using Liferay]Change date format</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112893439" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112893439</id>
    <updated>2019-03-26T12:04:22Z</updated>
    <published>2019-03-26T12:04:22Z</published>
    <summary type="html">&lt;blockquote&gt;Shahbaz Khan&lt;br /&gt;&lt;br /&gt;Although it is a very old thread. But I have also similar requirements with slight modification.&lt;br /&gt;&lt;br /&gt;My default locale is en_US. But I want to change date format for this locale also.&lt;br /&gt;&lt;br /&gt;Is there any way to do this without changing default locale.&lt;br /&gt;&lt;/blockquote&gt;The quickest way would include changing the default locale, but the effect is great: I&amp;#39;m using this forum in en_GB - Liferay doesn&amp;#39;t have any specific GB-translation (e.g. color vs colour), but suddenly the dates used in this forum make sense to me.&lt;br /&gt;&lt;br /&gt;AFAIK the formatting it left to the standard JVM routines for the locales. I&amp;#39;ve never checked if they&amp;#39;re configurable, but that would be my other closest bet if you really insist on keeping en_US.</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2019-03-26T12:04:22Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: [Liferay Forums][2. Using Liferay]Change date format</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112888037" />
    <author>
      <name>Shahbaz Khan</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112888037</id>
    <updated>2019-03-26T07:00:20Z</updated>
    <published>2019-03-26T07:00:20Z</published>
    <summary type="html">Hi Ray,&lt;br /&gt;&lt;br /&gt;Although it is a very old thread. But I have also similar requirements with slight modification.&lt;br /&gt;&lt;br /&gt;My default locale is en_US. But I want to change date format for this locale also.&lt;br /&gt;&lt;br /&gt;Is there any way to do this without changing default locale.</summary>
    <dc:creator>Shahbaz Khan</dc:creator>
    <dc:date>2019-03-26T07:00:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: [Liferay Forums][2. Using Liferay]Change date format</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=5878445" />
    <author>
      <name>Hitoshi Ozawa</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=5878445</id>
    <updated>2010-09-14T23:42:55Z</updated>
    <published>2010-09-14T23:42:55Z</published>
    <summary type="html">I&amp;#39;m also facing a similar problem. I live in Japan and the common date format is yyyy年mm月dd日 but Liferay display dates in yy/mm/dd.&lt;br /&gt;&lt;br /&gt;I was able to display the date in the correct format on the Calendar porlet but inserting headerPattern = &amp;#34;yyyy年MM月dd日&amp;#34;; in the taglib\ui\calendar\page.jsp.&lt;br /&gt;&lt;br /&gt;Would appreciate if someone can tell me a better way to solve this problem.</summary>
    <dc:creator>Hitoshi Ozawa</dc:creator>
    <dc:date>2010-09-14T23:42:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: [Liferay Forums][2. Using Liferay]Change date format</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4752584" />
    <author>
      <name>s s</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4752584</id>
    <updated>2010-03-23T21:08:01Z</updated>
    <published>2010-03-23T21:08:01Z</published>
    <summary type="html">Hi, I&amp;#39;ve been trying to implement the ISO YYYY-MM-DD format. I found that Sweden has that format of date, but I would like English. I thought maybe putting en_SE in portal-ext file and user.country=SE user.language=en in system-ext would let me do this but no luck. I do get the option in languages but date format is not changed. The native sv_SE does display ISO dates (but Swedish language).  Any suggestions?</summary>
    <dc:creator>s s</dc:creator>
    <dc:date>2010-03-23T21:08:01Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: [Liferay Forums][2. Using Liferay]Change date format</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=2180327" />
    <author>
      <name>Scott Hamilton</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=2180327</id>
    <updated>2009-02-13T11:25:43Z</updated>
    <published>2009-02-13T11:25:43Z</published>
    <summary type="html">As outlined above, you need to the change the Language for the user. Try changing your own account first by select &amp;#34;My Account&amp;#34; in the drop down menu, and then change your language from English (USA) to English (Aus). If that works then you&amp;#39;ll need to perform a update of the languageId column in the User_ table in your database. Since the Persistence layer probably has objects cached, I suspect it&amp;#39;s best to do this while the portal instance is down. Then when it starts again the cache will get refreshed from the updated table. &lt;br /&gt;&lt;br /&gt;Hope that helps.&lt;br /&gt;  S.</summary>
    <dc:creator>Scott Hamilton</dc:creator>
    <dc:date>2009-02-13T11:25:43Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: [Liferay Forums][2. Using Liferay]Change date format</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1964929" />
    <author>
      <name>Paul Robinson</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1964929</id>
    <updated>2009-01-16T15:43:50Z</updated>
    <published>2009-01-16T15:43:50Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;I am also in Australia and have made the suggested changes. I am running 5.1.2 - I realise that this thread is a few years old but it&amp;#39;s still relevant.&lt;br /&gt;&lt;br /&gt;The date formats are still coming out in mm/dd/yy - I am looking at the modified date and created date for journal content.&lt;br /&gt;&lt;br /&gt;In system-ext.properties I have: &lt;br /&gt;user.country=AU&lt;br /&gt;user.language=en&lt;br /&gt;&lt;br /&gt;In portal-ext.properties I have: &lt;br /&gt;locales=en_AU&lt;br /&gt;&lt;br /&gt;Any help would be appreciated.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Paul</summary>
    <dc:creator>Paul Robinson</dc:creator>
    <dc:date>2009-01-16T15:43:50Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: [Liferay Forums][2. Using Liferay]Change date format</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=368534" />
    <author>
      <name>Ben Starr</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=368534</id>
    <updated>2008-01-04T02:56:41Z</updated>
    <published>2008-01-04T02:56:41Z</published>
    <summary type="html">Thanks for the detailed instructions Ray. It is good to know that it can be changed globally. I will give it a go.</summary>
    <dc:creator>Ben Starr</dc:creator>
    <dc:date>2008-01-04T02:56:41Z</dc:date>
  </entry>
  <entry>
    <title>Re: [Liferay Forums][2. Using Liferay]Change date format</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=365579" />
    <author>
      <name>Ray Augé</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=365579</id>
    <updated>2008-01-03T04:45:36Z</updated>
    <published>2008-01-03T04:45:36Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&amp;gt; Since I live in Australia I would like to change the date format to DD/MM/YYYY rather than the default American format which has the month first. I would like to change it globally but in particular in the forums portlet as it could cause confusion. I thought it might be a global, user or locale setting but I cannot find it anywhere. Can anyone tell me how to change the date format? Thanks.&lt;br&gt;&lt;br&gt;Hey Ben... this is actually a very simple fix... you can do it yourself&lt;br&gt;quite easily.&lt;br&gt;&lt;br&gt;1) Add en_AU to the list of supported locales in&lt;br&gt;portal-ext.properties...&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;locales=ar_SA,ca_AD,ca_ES,zh_CN,zh_TW,cs_CZ,nl_NL,en_AU,....&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;2) Set the default portal Language/Country in system-ext.properties (put&lt;br&gt;this file in the same place as portal-ext.properties)&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;user.country=AU
user.language=en&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;3) &lt;strong&gt;(optional)&lt;/strong&gt; In order for "English (Australia)"'s flag to appear&lt;br&gt;in the Language portlet, create a flag icon (16x11 pixels) and place it&lt;br&gt;in (all) the theme's images/language folder.&lt;br&gt;&lt;br&gt;4) Restart portal...&lt;br&gt;&lt;br&gt;Done! All the dates should be Aussi standard everywhere in the portal.&lt;br&gt;(I tested this to see if it really works and it really does... &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif"&gt; ).&lt;br&gt;&lt;br&gt;5) (might not be required) If you're user is still displaying it's&lt;br&gt;current default language (en_US), change it in My Account... (you might&lt;br&gt;have to update all the user records in the DB and restart the portal to&lt;br&gt;re-set this globally for all your users).&lt;br&gt;&lt;br&gt;You don't even need to worry about a translation to support the&lt;br&gt;&lt;em&gt;en_AU&lt;/em&gt; because the default falls back to en... but you can always&lt;br&gt;add an en_AU translation as well.. we'd welcome the contribution back in&lt;br&gt;the portal.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Ray Augé</dc:creator>
    <dc:date>2008-01-03T04:45:36Z</dc:date>
  </entry>
  <entry>
    <title>Change date format</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=365522" />
    <author>
      <name>Ben Starr</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=365522</id>
    <updated>2008-01-03T03:02:05Z</updated>
    <published>2008-01-03T03:02:05Z</published>
    <summary type="html">Since I live in Australia I would like to change the date format to DD/MM/YYYY rather than the default American format which has the month first. I would like to change it globally but in particular in the forums portlet as it could cause confusion. I thought it might be a global, user or locale setting but I cannot find it anywhere. Can anyone tell me how to change the date format? Thanks.</summary>
    <dc:creator>Ben Starr</dc:creator>
    <dc:date>2008-01-03T03:02:05Z</dc:date>
  </entry>
</feed>
