1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 1ddf5b846f
common: New function rfctimestamp.
* common/gettime.c (rfctimestamp): New.
--

It is surprisingly hard to create an RFC-2822 compliant Date value.
The problem is that strftime uses the current locale but the RFC
requires that the English names are used.  This code is pretty simply
and avoid the extra problem of figuring out the correct timezone;
instead UTC is used.  For the planned use case this is anyway better.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-06-28 15:53:59 +02:00
..
2015-11-17 12:50:22 +01:00
2015-11-17 12:50:22 +01:00
2015-12-21 11:37:21 +01:00
2015-10-28 10:20:17 +01:00
2015-11-17 12:50:22 +01:00
2016-06-28 15:01:57 +02:00
2015-12-21 11:37:21 +01:00
2016-06-28 15:53:59 +02:00
2016-06-28 15:53:59 +02:00
2013-11-18 14:09:47 +01:00
2015-11-17 12:50:22 +01:00
2016-06-08 15:14:06 +02:00
2015-11-17 12:50:22 +01:00
2015-11-17 12:50:22 +01:00
2016-04-29 11:04:04 +02:00
2015-03-17 09:18:23 +01:00
2016-03-02 14:27:30 +01:00
2015-11-17 12:50:22 +01:00
2015-11-17 12:50:22 +01:00
2016-05-31 15:51:18 +02:00
2015-11-17 12:50:22 +01:00
2014-11-11 15:14:31 +01:00
2015-11-17 12:50:22 +01:00
2015-02-03 09:12:45 +01:00
2015-10-30 12:33:40 +01:00

Common functionality used by all modules of GnuPG.