I am implementing a Facebook application and using AJAX/JSON.
However the JSON structures that are returned have this format 2010-05
2010-05
With timezone working in all major browsers and ie7+:
class ActiveSupport::TimeWithZone def as_json(options = {}) strftime('%Y/%m/%d %H:%M:%S %z') end end