Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3552 closed defect (bug) (fixed)

WP15 Theme: Event date not formatted as translated

Reported by: chantalc's profile ChantalC Owned by: iandunn's profile 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
6 years 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
6 years ago


#3 @ChantalC
6 years 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 6 years ago by ChantalC (previous) (diff)

#4 @iandunn
6 years 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
6 years 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.