Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author wpseek

    (@alphawolf)

    Hi jfmm,

    what’s your date format set in the plugin’s settings? For

    01/02

    it should be

    d/m

    Thread Starter jfmm

    (@jfmm)

    Hi!

    With your indications now It sees:

    22 22Europe/Madrid junio

    Please, see http://fotoygrafias.es/indice-cronologico/

    Plugin Author wpseek

    (@alphawolf)

    This is weird. Have you tried setting the locale of your WordPress to default and back to your previous one?

    Thread Starter jfmm

    (@jfmm)

    Yes, but still.

    Plugin Author wpseek

    (@alphawolf)

    What’s the Site Language of your installation?

    Thread Starter jfmm

    (@jfmm)

    Spanish.

    Thread Starter jfmm

    (@jfmm)

    es_ES

    Plugin Author wpseek

    (@alphawolf)

    Well, set up Spanish for my test environment, and it seems to be working fine: http://schloebe.de/testblog/sample-page/ (using d. F as date format)

    Do you happen to have any other language plugins installed that might be the culprit here?

    Thread Starter jfmm

    (@jfmm)

    I disabled all plugins, and still the same.

    Plugin Author wpseek

    (@alphawolf)

    Can you provide me a wp-admin admin login, so I can have a look at what might be causing the issue? If you’re okay with this, please send the login credentials to scripts (at) schloebe (dot) de

    Thread Starter jfmm

    (@jfmm)

    Done.

    Plugin Author wpseek

    (@alphawolf)

    The problem here was an invalid date format.

    Instead of

    d de F

    it should have been

    d F

    The de part returned the day (d) and timezone (e) which was causing the strange output.

    Thread Starter jfmm

    (@jfmm)

    Thanks very much!

    Regards from Spain.

    Thread Starter jfmm

    (@jfmm)

    And for the next update You could include a option of a preposition between date format:

    – Spanish: for example: “de” –> 1 de Enero
    – English: for example: “of” –> 1 of January?
    – German: for example: “von” –> 1 von Januar?

    Regards!

    Plugin Author wpseek

    (@alphawolf)

    That wouldn’t work because that’s not how date formats work worldwide. In Germany, for example, we don’t say “1 von Januar”… we simply say “1. Januar”. 😉

    You can, however, escape strings. In your example

    d \d\e F

    would work (for spanish output).

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Date display’ is closed to new replies.