2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
authorteranisi <teranisi>
Wed, 4 Oct 2000 03:21:46 +0000 (03:21 +0000)
committerteranisi <teranisi>
Wed, 4 Oct 2000 03:21:46 +0000 (03:21 +0000)
* elmo-util.el (elmo-condition-parse-search-value):
Fixed date parsing.

elmo/ChangeLog
elmo/elmo-util.el

index d498584..0168bdf 100644 (file)
@@ -1,3 +1,8 @@
+2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
+
+       * elmo-util.el (elmo-condition-parse-search-value):
+       Fixed date parsing.
+
 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
 
        * elmo-util.el (elmo-condition-find-key-internal): New function.
index 4decd8f..56f95b1 100644 (file)
@@ -598,8 +598,8 @@ Return value is a cons cell of (STRUCTURE . REST)"
    ((or (looking-at "yesterday") (looking-at "lastweek")
        (looking-at "lastmonth") (looking-at "lastyear")
        (looking-at "[0-9]+ *daysago")
-       (looking-at "[0-9]+")
        (looking-at "[0-9]+-[A-Za-z]+-[0-9]+")
+       (looking-at "[0-9]+")
        (looking-at "[^/ \")|&]*") ; atom* (except quoted specials).
        )
     (prog1 (elmo-match-buffer 0)