Changeset 238 for trunk/src


Ignore:
Timestamp:
Jul 15, 2009, 8:08:00 PM (15 years ago)
Author:
katerina
Message:

Fix timezone format in email date header (ticket #158).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_mail.c

    r216 r238  
    12641264  my_tm   = localtime(&my_time);
    12651265#endif
     1266
     1267#if defined(HAVE_STRFTIME_Z)
     1268  (void)    strftime(my_tbuf, 127, _("%a, %d %b %Y %H:%M:%S %z"), my_tm);
     1269#else
    12661270  (void)    strftime(my_tbuf, 127, _("%a, %d %b %Y %H:%M:%S %Z"), my_tm);
     1271#endif
    12671272
    12681273  TPT(( 0, FIL__, __LINE__,  _("msg=<From: <%s>%c%cTo: <%s>%c%cDate: %s>%c%c"),
Note: See TracChangeset for help on using the changeset viewer.