Support » Theme: GamePress » Date/Time functions

  • Resolved mvittorazzi

    (@mvittorazzi)


    Hi.

    I’ve noticed that after I changed my date and time format on the configurations tab, the date/time info on posts, pages, reviews, videos and so on hasn’t changed. I looked into the template files and noticed also that the function is using a date/time format by default and that’s blocking the wordpress configuration.

    For example, if you look into content-single.php, on the line 5, you will see:

    <?php the_time(' F j, y '); ?> |

    If I make a simple change to this, it works live heaven:

    <?php the_date(); ?> - <?php the_time(); ?> |

    I think the code should be changed to get the parameters from the system, not to show a default date format (Which I don’t use, as I’m brazilian).

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Date/Time functions’ is closed to new replies.