According to peter karlsson:
> > See iso_8601 and date_format for the date format.
> 
> Where?

http://www.htdig.org/attrs.html#iso_8601
http://www.htdig.org/attrs.html#date_format

E.g.:
        iso_8601: true
or      date_format: %Y-%m-%d

The date_format attribute was introduced in ht://Dig 3.1.2, so if you're
running an older version, you'll need to set iso_8601 to get a non-US date
format, which is equivalent to the more long-winded: %Y-%m-%d %H:%M:%S %Z

> I set "locale: sv" in the config file...

The locale setting doesn't affect the date format in current releases of
htsearch.  Only in the 3.2 development code does changing the locale affect
the default date format.

-- 
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 htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to