dewski / json_builder

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.
http://garrettbjerkhoel.com/json_builder/
MIT License
244 stars 52 forks source link

Include zone in times (ISO 8601) #17

Closed henrik closed 12 years ago

henrik commented 12 years ago

This lib doesn't include timezones for time/date types, but really should. Rails to_json uses a format with zone.

I'm afraid I couldn't find a cleaner way than this.

dewski commented 12 years ago

Thanks for this! I went ahead and merged it, will push a new version up within the hour.

dewski commented 12 years ago

This has now been pushed to RubyGems as v3.0.7.

henrik commented 12 years ago

That was quick. Thank you! :)

dewski commented 12 years ago

No problem, appreciate you forking :octocat: