> Currently in the search results page the dates are shown like so:
>
> 10/30/02
>
> Is there a way to use a 4 digit year like this:
>
> 10/30/2002
>
> ?
>
> (I tried to search the htdig site, but searching isn't
> working right now)
date_format
type: string
used by: htsearch
default: <empty>
description:
This format string determines the output format for modification dates
of documents in the search results. It is interpreted by your system's
strftime function. Please refer to your system's manual page for this
function, for a description of available format codes. If this format
string is empty, as it is by default, htsearch will pick a format
itself. In this case, the iso_8601 attribute can be used to modify the
appearance of the date.
example:
date_format: %Y-%m-%d
iso_8601
type: boolean
used by: htsearch and htnotify
default: false
description:
This sets whether dates should be output in ISO 8601 format. For
example, this was written on: 1998-10-31 11:28:13 EST. See also the
date_format attribute, which can override any date format that htsearch
picks by default.
This attribute also affects the format of the date htnotify expects to
find in a htdig-notification-date field.
example:
iso_8601: true
Hope it helps,
Martin
--
| Martin Vorlaender VMS/WNT programmer
Unix is user friendly. | work: [EMAIL PROTECTED]
It's just selective about | http://www.pdv-systeme.de/users/martinv/
who his friends are. | home: [EMAIL PROTECTED]
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html