Commit d66ace08 d66ace08ef4e4c92e8ab382fc30442d9724345bf by Sergey Poznyakoff

(_action_send): Use %z instead of %Z to form Date header.

1 parent a9bb18a1
......@@ -456,7 +456,7 @@ _action_send (void *item, void *data)
time_t t = time (NULL);
struct tm *tm = localtime (&t);
mu_strftime (date, sizeof date, "%a, %d %b %Y %H:%M:%S %Z", tm);
mu_strftime (date, sizeof date, "%a, %d %b %Y %H:%M:%S %z", tm);
mu_header_set_value (hdr, MU_HEADER_DATE, date, 1);
if (mu_header_get_value (hdr, MU_HEADER_FROM, NULL, 0, &n))
......