Skip to content

Instantly share code, notes, and snippets.

@jasonallen
Created December 3, 2010 21:50
Show Gist options
  • Save jasonallen/727618 to your computer and use it in GitHub Desktop.
Save jasonallen/727618 to your computer and use it in GitHub Desktop.
require 'time'
# debugging time parsing
s = "Fri Jul 14 16:07:15 2006 -0700"
t = Time.parse(s).utc
puts t.inspect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment