Project activity local time stamp
Author | Posts |
---|---|
March 3, 2013 at 2:03 pm 1219 | |
hmmcreative | Ok here's another one...
I want this (located in includes/html.php):
$date = strtotime( date( 'j F, Y', strtotime( $activity->comment_date ) ) );
and this: $html .= sprintf( '<li><div class="cpm-activity-heads">%s</div><ul>', date( 'j F, Y', $key ) );
To display localized time (it does that already on the rest of the plugin)http://codex.wordpress.org/Function_Reference/date_i18n
I tried a few things but nothing satisfying at the moment.
Could you point me to the right direction? |
March 4, 2013 at 9:41 am 1223 | |
Tareq Hasan | May be I forgot to add |
March 13, 2013 at 9:29 am 1275 | |
eskamedia | Sorry for the late reply, it worked thanks! |
March 31, 2013 at 4:22 am 1660 | |
hmmcreative | Will this work for the milestone dates as well? I have a milestone that I’m making for April 4 to show that a meeting will take place that day, so I select the 4th on the calendar date for the milestone. Upon saving, the date changes to April 3rd which gets very confusing. |
March 31, 2013 at 7:46 am 1664 | |
Tareq Hasan | @hmmcreative, This topic isn’t about the time malfunction. I still can’t figure it out whats going wrong with the time. |
March 31, 2013 at 6:13 pm 1689 | |
hmmcreative | Thank you, sorry to be off topic. I will start a new thread as there are more issues with the dates that I’m having. |