According to Geoff Hutchison:
> On Mon, 8 Feb 1999, Gilles Detillieux wrote:
> > If it's not too late, I'd like to slip in this little tweak to the new
> > parse_date function in htnotify. It will recognize an ISO 8601 date
> > yyyy-dd-mm instead. I hope to get a documentation patch to you before
> > the end of the day as well, explaining date formats.
>
> Sounds good.
Here you go, as promised. I hope I wasn't being too verbose...
--- ./htdoc/meta.html.fixnotif Thu Jan 28 20:23:52 1999
+++ ./htdoc/meta.html Mon Feb 8 17:10:34 1999
@@ -170,7 +170,9 @@
<dd>
The value is the date on or after which the notification
should be sent. The format is simply <em>month / day /
- year</em>. Make sure that the year has the century with it
+ year</em>, or if the <a href="attrs.html#iso_8601">iso_8601</a>
+ attribute is set, <em>year - month - day</em>.
+ Make sure that the year has the century with it
as well. This means that you should use <em>1995</em>
instead of <em>95</em>.<br>
If no date is given, no notification will be sent. (Please
--- ./htdoc/notification.html.fixnotif Thu Jan 28 20:23:52 1999
+++ ./htdoc/notification.html Mon Feb 8 17:49:37 1999
@@ -126,11 +126,30 @@
</dt>
<dd>
This is the date on or after which the notification should
- be sent. The format is simply <em>month / day / year</em>.
+ be sent. The format is simply <em>month / day / year</em>,
+ or if the <a href="attrs.html#iso_8601">iso_8601</a>
+ attribute is set, <em>year - month - day</em>.
Make sure that the year has the century with it as well.
This means that you should use <em>1995</em> instead of
<em>95</em>.<br>
- If no date is given, no notification will be sent.
+ The format of dates is actually a little more flexible than
+ this. Any punctuation or white space can be used as separators,
+ and if the year, month and date do not appear as expected in the
+ order listed above, the notification service will try to make
+ sense of the order used, if the date can be resolved unambiguously
+ in another order. Using four-digit years avoids ambiguity between
+ the year and the month or day. The format <em>year - month -
+ day</em> is accepted without ambiguity when a four-digit year is
+ used, whether the iso_8601 attribute is set or not. When the
+ year is given after the month and day, the format is either
+ <em>day - month - year</em>, if iso_8601 is true and the year
+ has four digits, or <em>month - day - year</em> otherwise.<br>
+ If no date is given, no notification will be sent. If a date is
+ given but is malformed, a notification of this error will be sent.
+ For correct dates, a notification will be sent every time the
+ system runs the notification service, on or after the date given.
+ To end the notifications, you must update or remove the
+ notification date in the document.
</dd>
<dt>
<strong>htdig-email-subject</strong>
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.