diff options
author | Kevin McCarthy <kevin@8t8.us> | 2021-01-17 19:39:01 -0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2021-01-17 19:39:01 -0800 |
commit | 5f5d33f832c82f14280e2c643b2039d4beb68573 (patch) | |
tree | 52e6feabbfe1d5aa1aff49a6f0d32e19f31306af /messageid.c | |
parent | 1f18828754ed781f2562a60414521a5e1e6b93a8 (diff) |
Change $message_id_format year expando from %y to %Y.
So that it matches the strftime() 4-digit year.
Thanks to Vincent Lefèvre for noting the discrepancy.
Diffstat (limited to 'messageid.c')
-rw-r--r-- | messageid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/messageid.c b/messageid.c index 3a2bab16..460dbf5e 100644 --- a/messageid.c +++ b/messageid.c @@ -84,7 +84,7 @@ static const char *id_format_str (char *dest, size_t destlen, size_t col, break; } - case 'y': + case 'Y': snprintf (tmp, sizeof (tmp), "%%%sd", fmt); snprintf (dest, destlen, tmp, id_data->tm.tm_year + 1900); break; |