diff options
Diffstat (limited to 'lib/date.rb')
-rw-r--r-- | lib/date.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/date.rb b/lib/date.rb index e84eefb173..7ee7d58cae 100644 --- a/lib/date.rb +++ b/lib/date.rb @@ -797,7 +797,7 @@ class Date end end - if g[0] == :time + if g && g[0] == :time if self <= DateTime d ||= Date.today elem[:jd] ||= d.jd |