joined:Apr 1, 2010
I am trying to work out how to change the way the time/date are displayed in my feed. I am dynamically creating the feed through PHP, and it works fine but I would like the pubDate to not have the time in it as it is irrelevant to the content. Some browsers seem to show the year and some don't, so it would also be nice to get that to display on all browsers (perhaps this is not possible?) I am pulling the data from a mySQL database in the following format (yyyy-mm-dd) and then converting it to RFC2822. If I manually strip out the last 15 chataracters the pubDate is reverting to current time. Is there a way to at the very least remove the time from the end of the pubDate displayed? In IE I seem to be getting the day of the week too (which is fine and what I would really like everywhere), while in Chrome I don't seem to be getting any date/time. Safari and Firefox also do not display how I would like it. Perhaps this (as mentioned above) is browser related and there is nothing I can do about it? I have run the xml through an rss validator and it is happy with it. Thanks for any help in advance.