Uploaded image for project: 'PUBLIC - Liferay Social Office Community Edition'
  1. PUBLIC - Liferay Social Office Community Edition
  2. SOS-1941

Private Messaging Portlet - Message date & time are incorrectly localized

    Details

    • Fix Priority:
      4
    • Affects Portal Version/s:
      6.2.0 CE GA1, 6.2.10 EE GA1, 6.1.30 EE GA3, 6.1.2 CE GA3, 6.1.20 EE GA2, 6.1.1 CE GA2
    • Portal Fix Version/s:
      6.2.x

      Description

      1- Deploy private-messaging-portlet
      2- Place portlet on a page
      3- Click on 'New Message' and a send a new message to yourself (Test Test)
      4- Assert the date is displayed in the following format: "November 27 at 3:12 PM"
      5- Change locale for example to "/de"

      Problem Date/time is displayed in an incorrect version. Still contains "-at" without translation, format does not meet the current display locale

      === Background
      Here is the corresponding code snippet from

      private-messaging-portlet/docroot/init.jsp
      Format dateFormatDateTime = FastDateFormatFactoryUtil.getSimpleDateFormat("MMMMM d 'at' h:mm a", locale, timeZone);
      
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 29 weeks, 3 days ago

                Subcomponents