PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-33451

Date and time formatting rules should be customizable via properties


    • Type: Feature Request Feature Request
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.1.20 EE GA2, --Sprint 11/12
    • Fix Version/s: None
    • Component/s: WCM, WCM > Localization
    • Labels:
    • Similar Issues:
      Show 5 results 


      Date formatting rules should be customizable via properties

      Currently the date and time formatting rules are hardcoded and there is no way to define the preferred format via properties.

      For example in a Lithuanian translation given the following language property:
      voting-is-disabled-because-this-poll-expired-on-x=Apklausos galiojimas baigėsi



      This is displayed as:
      "Apklausos galiojimas baigėsi 13.2.10 23.59."

      If someone would like to apply different formatting like the example below, then it can be archived only with customizing the code:
      "Apklausos galiojimas baigėsi 2013-02-10 23:59."

      A new feature to define formatting rules via property configuration or in the translation string would be useful.


        There are no comments yet on this issue.


          • Assignee:
            SE Support
            Istvan Sajtos
            Recent user:
            Randy Zhu
            Participants of an Issue:
          • Votes:
            2 Vote for this issue
            0 Start watching this issue


            • Created:
              Days since last comment:
              2 years, 22 weeks ago


                Structure Helper Panel