diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-04-20 19:26:08 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-04-20 19:26:08 +0000 |
commit | 272ae6b247648467de2ffeae5114ad7e1fe96417 (patch) | |
tree | d30afd20451948644977c4af05fee98301294c7d /sendlib.c | |
parent | 5152982ff807db3d36571e119583704f68631693 (diff) |
Fix a time zone snafu.
Diffstat (limited to 'sendlib.c')
-rw-r--r-- | sendlib.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1153,10 +1153,12 @@ char *mutt_make_date (char *s, size_t len) struct tm *l = localtime (&t); time_t tz = mutt_local_tz (t); + tz /= 60; + snprintf (s, len, "Date: %s, %d %s %d %02d:%02d:%02d %+03d%02d\n", Weekdays[l->tm_wday], l->tm_mday, Months[l->tm_mon], l->tm_year + 1900, l->tm_hour, l->tm_min, l->tm_sec, - tz / 3600, abs (tz) % 3600); + tz / 60, abs (tz) % 60); return (s); } |