I have a column in a mysql table called "start_date" as a datetime.
I''m
returning the results from that table as XML.
render :xml => @mystuff.to_xml
However, instead of coming across like:
2006-05-28 00:00:00
It comes across in the XML instead as:
2006-05-28T02:00:00-04:00
Is there a way to make it match the mysql format, or another way to have it
generate XML so the string matches the way mysql shows it? Otherwise, I can
parse the way Rails is sending it back, just curious why the format is
different.
???
--JesterXL