• Here in Brazil we have a different formatting to display the hour. We use 24 hours and use “h” as a separator in spite of “:”.

    So, the official time im Brazil is 18h43, not 6:43PM.

    To display it on WP 2.03 pages I used to go Options > General and set:

    Default time format: G\hi

    The “\” works as a scape because the “h” “is the 12-hour format of an hour with leading zeros”.

    But, the WP 2.23 changed something and if i set the Default time format to G\hi i get 18643. So, the scape isn’t working anymore.

    BUT, I managed an workaround going straight to the theme files and changing (for exemple) the <?php comment_time() ?> to <?php comment_time('G\hi') ?> and it worked fine! The 18h43 is shown on the screen correctly.

    Why does it work with <?php comment_time('G\hi') ?> and doesn’t work using Default time format: G\hi?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Different “default time format” doesn’t work anymore’ is closed to new replies.