Rails provides an excellent XML Builder by default to build RSS and ATOM feeds, but nothing to help you build complex and custom JSON data structures. JSON Builder is here to help.
Without this fix, Ruby on Rails TimeWithZone#to_builder will incorrectly assume that a local time is UTC.
Sorry I missed this in the last pull request. Was a bit tricky to chase down. Seems like TimeWithZone passes stuff onto Time and loses time zone awareness on the way.
Without this fix, Ruby on Rails TimeWithZone#to_builder will incorrectly assume that a local time is UTC.
Sorry I missed this in the last pull request. Was a bit tricky to chase down. Seems like
TimeWithZone
passes stuff ontoTime
and loses time zone awareness on the way.