Ready to get started?Download WordPress


[resolved] [Plugin: Twitter for WordPress] Changing date format (5 posts)

  1. supervee
    Posted 4 years ago #

    Is there a way to display the timestamp as "12 hours ago" etc instead of "2009/10/09" ?


  2. consumedsoul
    Posted 4 years ago #

    I'm interested in an answer for this as well, even if I can rearrange the default 2009/10/11 format to something else that'd be great.

  3. Thomas.A
    Posted 4 years ago #

    If one or more of your updates is less than 24 hours ago, it is displayed as "12 hours ago", if not - it displays the date.
    To change the 24-hours rule, go to:
    wp-admin -> Widgets -> Edit Twitter for wordpess. Look at line #94. The default is 86400 (number of seconds in a day). Try to change this to a higher number (e.g. 604800 = one week).

    Take a look at line 97 and line 99.

  4. supervee
    Posted 4 years ago #

    Thanks for your help :)

  5. brotkrus
    Posted 4 years ago #

    Regardless is there any way to display "3 days ago" ?
    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic