diff options
Diffstat (limited to '')
-rw-r--r-- | atom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atom.c b/atom.c index 83a4457..aa98406 100644 --- a/atom.c +++ b/atom.c @@ -33,7 +33,7 @@ static char *atomID(const char *messageID) { int atomEntryOpen(FILE *file, const struct Envelope *envelope) { char *id = atomID(envelope->messageID); char date[sizeof("0000-00-00T00:00:00Z")]; - strftime(date, sizeof(date), "%FT%TZ", gmtime(&envelope->utc)); + strftime(date, sizeof(date), "%FT%TZ", gmtime(&envelope->date)); struct Variable vars[] = { { "subject", envelope->subject }, { "from.name", addressName(envelope->from) }, |