Project activity local time stamp

This topic contains 5 reply and 3 voices, and was last updated by hmmcreative 11 years ago
Viewing 5 Posts - 1 through 5 (of 5 total)
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 Tareq Hasan

May be I forgot to add date_i18n function this case. In the second highlighted code snippet, replace date with date_i18n. That should work.

March 13, 2013 at 9:29 am 1275
eskamedia eskamedia

Sorry for the late reply, it worked thanks!

March 31, 2013 at 4:22 am 1660
hmmcreative 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 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 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.

Viewing 5 Posts - 1 through 5 (of 5 total)