Making WordPress.org

Opened 21 months ago

Closed 20 months ago

Last modified 20 months ago

#3552 closed defect (fixed)

WP15 Theme: Event date not formatted as translated

Reported by: ChantalC Owned by: iandunn
Milestone: Priority: normal
Component: General Keywords:


If I switch language to Dutch, the date as shown for each event is shown in the default format. Apparently nothing is done with the translation:


Change History (5)

#1 @iandunn
20 months ago

  • Owner set to iandunn
  • Resolution set to fixed
  • Status changed from new to closed

In 7036:

WP15: Add text domain to date format to localize string.

This isn't using date_i18n() -- because it has to convert the date/time with respect to the _event's_ local timezone, not the site's -- so the wp15 domain has to be explicitly provided.

Fixes #3552.

#2 @iandunn
20 months ago


#3 @ChantalC
20 months ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

@iandunn better now, but the month is shown in English. For example in Dutch it shows as "May" where "mei" should be correct.

Last edited 20 months ago by ChantalC (previous) (diff)

#4 @iandunn
20 months ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 7052:

WP15: Pass dates through date_i18n() to localize month names.

Fixes #3552.

#5 @iandunn
20 months ago

Good catch. I installed the language packs for all locales, deployed r7052, and cleared the static page cache.

Note: See TracTickets for help on using tickets.