pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to change mail/thunderbird date format?

On Fri 22 Aug 2008 at 01:50:34 +0200, Christian Biere wrote:
> My personal babble:
> 2008-08-18 conforms to ISO 8601, an international standard. You might
> want to get used to it. The latter SHOULD be illegal. I don't think
> it is officially used in any country. Use of '-' implies ISO 8601.
> 18.08.2008 would be fine. It's used in Germany for example.

The German form looks weird to me, since the Netherlands generally uses
18-08-2008, sometimes 18/08 or 18/08/2008.

> I assume you use NetBSD. If so, read the BUGS section of setlocale(3).
> You're not going to like it. In a nutshell: NetBSD only supports
> LC_CTYPE (the character encoding) of any locale setting.

I do indeed use NetBSD, and that is indeed very annoying. Thanks for the

> > Does anyone have some other idea?
> Look for strftime() and hardcode the format to "%Y-%m-%d".

I suppose that Thunderbird uses strftime("%x %X") or something like
that. Maybe "%F %T" would fit (alternative for %F could be %v).

I'll do my binary patching some other day :-/

___ Olaf 'Rhialto' Seibert      -- You author it, and I'll reader it.
\X/ rhialto/at/        -- Cetero censeo "authored" delendum esse.

Home | Main Index | Thread Index | Old Index