• Resolved J Marlow

    (@j-marlow)


    Regardless of changes made in admin settings, the date format remains the same, all numbers, starting with the day–so my posts look like they’re from february. Near as I can tell, functions.php controls the date with this code–but I see nothing wrong here.

    $defaults = array(‘depth’ => 0, ‘show_date’ => ”, ‘date_format’ => get_option(‘date_format’),

    Site is https://fitstorm.blog/

    Thanks for any help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The displayed date on your site is governed by the the_time and/or the_date tags in the theme’s templates files. So you need to edit your theme’s files.

    Thread Starter J Marlow

    (@j-marlow)

    Thanks esmi. I know http, not much css (yet). Searching all transblack theme files, I see “the_date” only once, and that’s in archives.php

    I changed d-m-y to m-d-y, but it makes no difference; posts still show (for example) 03-09-2010 when I want them to read September 3, 2010.

    Any suggestions for the css-impaired?

    Thanks again.

    Thread Starter J Marlow

    (@j-marlow)

    Okay, making progress by changing d-m-Y to m-d-Y everywhere I find it. Still doesn’t spell out the month, though. Working it here. Also this in attachments.php:

    And I’m a little baffled by one ref in attachments.php which says on <?php the_time(‘l, F jS, Y’) ?> at <?php the_time() ?>.

    Thanks for the pointer!

    Thread Starter J Marlow

    (@j-marlow)

    Changed everything I could find to l, F j, Y

    Does the trick, thanks!

    JM

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot Change Date Format’ is closed to new replies.