WordPress.org

Ready to get started?Download WordPress

Forums

Skirmish
Date format specific to North America (4 posts)

  1. ianchard
    Member
    Posted 1 year ago #

    I really like the look of this theme, but I had to make a small change as the date format in content.php is 'month/day/year', which is not recognised in many parts of the world.

    I changed line 10 of content.php to

    <div class="time"><?php the_date() ?></div>

    so that it uses the default (in Settings -> General from the dashboard) instead.

    http://wordpress.org/extend/themes/skirmish/

  2. alicelovestobake
    Member
    Posted 1 year ago #

    Hi

    I would also like to make this change, but I am new to blogging and code is mostly beyond me. How do I go about finding the content.php for my blog so that I can modify it as you show?

    Many thanks

    Alice

    http://www.bristolbakestress.com

  3. ianchard
    Member
    Posted 1 year ago #

    It depends on whether you host WordPress yourself, or someone else does it for you. I'm probably not the best person to answer this, as I do all this stuff for myself and am not sure where to start explaining :)

    Cheers
    - Ian

    http://rainbow.chard.org/

  4. Shrikant Dhule
    Member
    Posted 1 year ago #

    hey ianchard,

    I am new to wordpress and even I don't know that this will help you or not but I want to share this with you that which I use in my site.

    date_default_timezone_set('America/New_York');
    echo date("m/d/Y");
    echo date("h:i A T");

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags