Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-69783

Announcement date is not rendered correctly

Details

    Description

      Issue
      Announcement date is not rendered correctly

      Steps to reproduce

      1. Start clean DXP
      2. Add Announcements portlet into page
      3. Switch to Japanese language (access http://localhost:8080/ja/web/guest/home)
      4. Click on お知らせの管理 and add a new announcement
      5. Note that in the list it shows as 0 分 前
      6. Click on 新規作成

      Actual results
      Date is displayed as

      約{0}分前

      (See attached wrongdate.png)

      Expected results
      Date is displayed as 0分前

      Reproduced in
      7.0.x (5bd6951db2d61030c6d9f124168fa3c7bfdd60a8)
      master (8b5ef4f416a47b8b8de943bc15ca482e4f535f9f)

      Note
      Reloading page does not help.
      After 1 minute and reload page, it shows properly as 1分前

      Attachments

        1. 69783_2.png
          69783_2.png
          25 kB
        2. 69873.png
          69873.png
          24 kB

        Activity

          People

            sylvia.luan Sylvia Luan
            david.zhang David Zhang (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 6 weeks ago

              Packages

                Version Package
                7.0.0 DXP FP10
                7.0.0 DXP SP2
                7.0.3 CE GA4
                7.1.X
                Master