WordPress.org

Making WordPress.org

Opened 17 months ago

Closed 17 months ago

Last modified 17 months ago

#3560 closed defect (fixed)

WP15 Theme: Event dates translation is showing current date/time

Reported by: pedromendonca Owned by: iandunn
Milestone: Priority: normal
Component: General Keywords:
Cc:

Description

If I switch the language to Portuguese (pt_PT), the date of all events is the current date, and not each event specific date. I've check that it also happens for pt_BR locale.

The date format is currently translated mostly like in WP core for our locale.
https://translate.wordpress.org/projects/meta/wp15/pt/default?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=5857919&filters%5Btranslation_id%5D=54779825

https://wp15.wordpress.net/?locale=pt_PT

An example date from Porto 15th Aniversary event:
May 24th, 2018 7:00pm - "F jS, Y g:ia"
9 de Abril de 2018 @ 7:31 - "j \d\e F \d\e Y @ G:i"

Attachments (2)

Screenshot 2018-04-09 08.52.50.png (10.6 KB) - added by pedromendonca 17 months ago.
Screenshot 2018-04-09 08.53.04.png (10.4 KB) - added by pedromendonca 17 months ago.

Download all attachments as: .zip

Change History (5)

#1 @iandunn
17 months ago

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

In 7069:

WP15: Use an unlocalized format when converting between timezones.

Props pedromendonca.
Fixes #3560.

#2 @iandunn
17 months ago

This should be fixed now, thanks for reporting it :)

#3 @pedromendonca
17 months ago

Perfect. Great job!

Note: See TracTickets for help on using tickets.