Skip to content

Instantly share code, notes, and snippets.

@brianmario
Created August 25, 2009 20:31
Show Gist options
  • Select an option

  • Save brianmario/174991 to your computer and use it in GitHub Desktop.

Select an option

Save brianmario/174991 to your computer and use it in GitHub Desktop.
>> Time.now.to_json
=> "\"2009-08-25T13:30:18-07:00\""
>> require 'yajl/json_gem'
>> Time.now.to_json
=> "Tue Aug 25 13:30:26 -0700 2009"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment