Re: [htdig] Date format


Torsten Neuer (tneuer@inwise.de)
Fri, 29 Oct 1999 18:40:10 +0200


Patrick Dugal wrote:
>
> Hello,
>
> Is there a way to control the date format as well as the unit of file size
> in the output of the htsearch results?

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

You would probably like to put something like
        date_format: "%Y/%m/%d"
or (if your locale is set to Canadian)
        date_format: "%c"
in your Ht://Dig configuration file.

 
> We would like to use the Canadian format for dates (YYYY/MM/DD)instead of
> the American, and we would like to use Kilobytes (K) instead of bytes. This
> is because most of our clients are Canadian, and because the files are
> rather large (they are in the pdf file format).

See
        http://www.htdig.org/hts_templates.html

Use SIZEK instead of SIZE.

hth,
  Torsten

-- 
InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH
Waldhofstraße 14                            Tel: +49-4101-403605
D-25474 Ellerbek                            Fax: +49-4101-403606
E-Mail: info@inwise.de            Internet: http://www.inwise.de

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig@htdig.org containing the single word unsubscribe in the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Fri Oct 29 1999 - 09:49:51 PDT