Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix typo in deprecation warning when using Time.construct

  • Loading branch information...
commit cdea249f5cd255201bef305c86b30f57e6fab934 1 parent 82b298a
Lee Jarvis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/chronic.rb
View
2  lib/chronic.rb
@@ -100,7 +100,7 @@ class << self
class Time
def self.construct(year, month = 1, day = 1, hour = 0, minute = 0, second = 0)
- warn "Chronic.construct will be deprecated in version 0.7.0. Please use Chronic.construct instead"
+ warn "Time.construct will be deprecated in version 0.7.0. Please use Chronic.construct instead"
Chronic.construct(year, month, day, hour, minute, second)
end
Please sign in to comment.
Something went wrong with that request. Please try again.