summaryrefslogtreecommitdiff
path: root/lib/time.rb
diff options
context:
space:
mode:
-rw-r--r--lib/time.rb5
1 files changed, 5 insertions, 0 deletions
@@ -272,6 +272,11 @@ class Time
# Takes a string representation of a Time and attempts to parse it
# using a heuristic.
#
# require 'time'
#
# Time.parse("2010-10-31") #=> 2010-10-31 00:00:00 -0500