All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.


Author Topic: Display problem  (Read 1136 times)

0 Members and 1 Guest are viewing this topic.

Offline raducostin

  • Newbie
  • *
  • Posts: 2
    • View Profile
Display problem
« on: 06 September 2009, 17:01 »
I use Wordpress 2.8.4 and "corp" theme. I have the following problem :

For a comment posted today i have the following output : "Today at 12:55 (6 hours ago)".
For a comment posted before today i have the following output : "3 September 2009 12:19 (3 days ago) at 12:19"

Hours and minutes appear twice. If I modify "comment-template.php" i lose the hour/minutes and relative time for comments posted today.

How do I solve this problem ?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Display problem
« Reply #1 on: 06 September 2009, 17:09 »
Use:
Code: [Select]
<?php comment_date('jS F Y'?> at <?php comment_time() ?>

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline raducostin

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Display problem
« Reply #2 on: 06 September 2009, 17:19 »
Thanks. Problem solved.

I used
Code: [Select]
<?php printf(__('%1$s at %2$s'), get_comment_date('jS F Y'),  get_comment_time()) ?>