Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5398

Articles: Dates are not translated

XMLWordPrintable

    • 5
    • Translations
    • Sprint #145
    • titan

      Example page: https://www.greenpeace.org/nl/

      Pre-WYSIWYG we were using Twig's date filter to format dates for this block. This was taking into account the site's locale. See for instance how dates were in GPNL:
      https://7921-133470970-gh.circle-artifacts.com/0/app/backstop_data/html_report/index.html

      And here is the WP way:
      https://wordpress.org/support/article/formatting-date-and-time/#localization

      Currently dates are not localized, but always displayed in English.

      Tasks

      • Investigate how we can localize dates. Maybe WP/Gutenberg offers a way.
      • Implement the change or re-refine if it's turns out to be a huge amount of work.

            sdeshmuk Sagar Deshmukh
            okeur Oscar Keur
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: