[Plugin: WP Calendar] date format change
-
has there been any change in the way dates a processed as i have a piece of code in a function that outputs caterories from the calendar onto a page
this page is updated every 6 months as these events only occur then
in February they worked fine
now when i create an event in the calendar they are correct but on the page they are all dated 1st january 1970 but if you click the event the details of the event show up correctly this is the output part of the codeif ($pg) $url = add_query_arg('page_id',$pg,home_url()); $op .= "<div id='ae-cat$catid' class='ae-events'>\n"; $op .= "<div class='ae-catname'>Meetings for $catname</div>\n"; foreach ($events_in_cat as $annual_event) { $op .= "<div class='ae-event'>\n"; $op .= "<div class='ae-subject'>"; if ($url) $op .= "<a href='" . add_query_arg('event',$annual_event->eventid,$url) . "' >"; $op .= $annual_event->subject; if ($url) $op .= '</a>'; $op .= "</div>\n"; $op .= "<div class='ae-tsfrom'>" . date('F jS, Y',$annual_event->tsfrom) . "</div>\n"; $op .= "<div class='ae-description'>$annual_event->description</div>\n"; $op .= "<div class='ae-separator'></div>\n"; $op .= "</div><!-- End ae-event -->\n"; } $op .= "</div><!-- End ae-events -->\n";
the output page is at provincial visitations
can anyone please help
Read every post in this forum thread and searched wordpress to no avail
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: WP Calendar] date format change’ is closed to new replies.