I am using the fetch_rss() native to WP to grab my twitter feed. However, the publish date comes through in a much longer format than I like. Does anyone know if there is a way to manipulate this parsed date using PHP, or is there a file I can alter?
The date comes in as part of an array
$item['pubdate'], and echos out as
Tue, 30 Dec 2008 05:47:11 +0000
I like it to be more like, Dec 30 – 5:47.
Any help would be great!
PS. If you are wondering why I don’t use one of the great plugins already developed for twitter ~ I needed a plugin that supports an offset of posts, which none of them do. Fetch_rss() does.
- The topic ‘Reformat date/time from feed’ is closed to new replies.