]> git.cworth.org Git - sup/blobdiff - lib/sup/index.rb
make label-list-mode non-modal
[sup] / lib / sup / index.rb
index 6693db1b00f055252dbde6c89e2f5b6216dac5e6..367829533581323e28b91ff59bec4449e37609af 100644 (file)
@@ -394,7 +394,7 @@ protected
       result = result.gsub(/\b(before|on|in|after):(\((.+?)\)\B|(\S+)\b)/) do
         break if chronic_failure
         field, datestr = $1, ($3 || $4)
-        realdate = Chronic.parse(datestr, :guess => false)
+        realdate = Chronic.parse(datestr, :guess => false, :context => :none)
         if realdate
           case field
           when "after"