diff --git a/src/doc/user/usermanual.sgml b/src/doc/user/usermanual.sgml
index 6aa7ac45..9bf45190 100644
--- a/src/doc/user/usermanual.sgml
+++ b/src/doc/user/usermanual.sgml
@@ -1011,6 +1011,44 @@ fvwm
cases to set up separate databases instead.
+ date for searching or filtering
+ on dates. The syntax for the argument is based on the ISO8601
+ standard for dates and time intervals. Only dates are supported, no
+ times. The general syntax is 2 elements separated by a
+ / character. Each element can be a date or a
+ period of time. Periods are specified as
+PnYnMnD.
+ The n numbers are the respective numbers
+ of years, months or days, any of which may be missing. Dates are
+ specified as
+YYYY-MM-DD.
+ The days and months parts may be missing. If the
+ / is present but an element is missing, the
+ missing element is interpreted as the lowest or highest date in the
+ index. Exemples:
+
+ 2001-03-01/2002-05-01 the
+ basic syntax for an interval of dates.
+
+ 2001-03-01/P1Y2M the
+ same specified with a period.
+
+ 2001/ from the beginning of
+ 2001 to the latest date in the index.
+
+ 2001 the whole year of
+ 2001
+ P2D/ means 2 days ago up to
+ now if there are no documents with dates in the future.
+
+ /2003 all documents from
+ 2003 or older.
+
+
+ Periods can also be specified with small letters (ie:
+ p2y).
+
+
mime or
format for specifying the
mime type. This one is quite special because you can specify
diff --git a/src/qtgui/ssearch_w.cpp b/src/qtgui/ssearch_w.cpp
index 6c09131d..2dc13f41 100644
--- a/src/qtgui/ssearch_w.cpp
+++ b/src/qtgui/ssearch_w.cpp
@@ -94,7 +94,8 @@ void SSearch::searchTypeChanged(int typ)
"field:term1 : 'term1' in field 'field'.
\n"
" Standard field names/synonyms:
\n"
" title/subject/caption, author/from, recipient/to, filename, ext.
\n"
-" Pseudo-fields: dir, mime/format, type/rclcat.
\n"
+" Pseudo-fields: dir, mime/format, type/rclcat, date.
\n"
+" Two date interval exemples: 2009-03-01/2009-05-20 2009-03-01/P2M.
\n"
"term1 term2 OR term3 : term1 AND (term2 OR term3).
\n"
" No actual parentheses allowed.
\n"
"\"term1 term2\" : phrase (must occur exactly). Possible modifiers:
\n"
diff --git a/src/utils/smallut.cpp b/src/utils/smallut.cpp
index ad28b499..771f4da8 100644
--- a/src/utils/smallut.cpp
+++ b/src/utils/smallut.cpp
@@ -1036,7 +1036,7 @@ int main(int argc, char **argv)
cerr << "[" << *it << "] ";
cerr << endl;
exit(0);
-#elif 0
+#elif 1
if (argc <=0 ) {
cerr << "Usage: smallut " << endl;
exit(1);
@@ -1049,7 +1049,7 @@ int main(int argc, char **argv)
}
cerrdip("", &di);
exit(0);
-#elif 1
+#elif 0
DateInterval di;
for (int i = 0; i < nperiods; i++) {
if (!parsedateinterval(periods[i], &di)) {