----- Original Message -----
From: "Sam Varshavchik" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, March 25, 2001 4:06 AM
Subject: Re: gpg support Import? export?


> On Sun, 25 Mar 2001, Einar Bordewich wrote:
>
> > Sam,
> >
> > I can't seem to find any enviroment variables for setting 24 vs am/pm.
Any
> > clue?
>
> No, the time format is fixed in the code.
<snip>

Where? maildir.c?

/* Display message creation time.  If less than one week old (more or less)
** show day of the week, and time of day, otherwise show day, month, year
*/

static const char *displaydate(time_t t)
{
struct tm *tmp=localtime(&t);
static char     datebuf[40];

        datebuf[0]='\0';
        if (tmp)
        {
                strftime(datebuf, sizeof(datebuf)-1,
                        (t < current_time - 6 * 24 * 60 * 60 ||
                        t > current_time + 12 * 60 * 60
                        ? "%d %b %Y" : "%a %I:%M %p"), tmp);
                datebuf[sizeof(datebuf)-1]=0;
        }
        return (datebuf);
}
--
--------------------------------------------
IDG New Media        Einar Bordewich
Development Manager  Phone: +47 2336 1420
E-Mail:              eibo(at)newmedia.no
Lat: 59.91144 N      Lon: 10.76097 E
--------------------------------------------


Reply via email to