[wp-testers] Date format

Ryan Boren ryan at boren.nu
Mon Nov 3 00:05:42 GMT 2008


On Sun, Nov 2, 2008 at 3:58 PM, Xavier Borderie <xavier at borderie.net> wrote:
> A very cool addition to the Options panel is a section for choosing
> the default date format for all of WP's strings - this is a huge step
> from the overly-geeky date()-using field, while still keeping it as a
> last option of 4, under "Custom"
> Even cooler is that the first field in this section is directly
> extracted from the translation file. Indeed, while by default the date
> settings are "F j, Y", I am able to set the first option as "j F Y" ;
> same for the hour setting, from "g:i a" to "G:i".
>
> Alas, WP still use the Custom format as the default, while I think the
> logic would be to use the first option.
> What's more, the original Custom format is the English one, not the
> translation's. Same for date and hour.

The default should be what is already set in the DB.  During install
we set the default formats, and those defaults are marked for
translation.


More information about the wp-testers mailing list