[exim-dev] Adding RFC 2822 date parsing code

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Michael Haardt
Date:  
À: exim-dev
Sujet: [exim-dev] Adding RFC 2822 date parsing code
Hello,

are there any objections against adding parse_date_time() to parse.c for
parsing RFC 2822 dates? I am still playing with how to use it best, but
the parsing code is already finished and may be useful to others as well.

One idea is to add an expansion variable that contains the difference
between Resent-Date:/Date: and the current time. It shouldn't be far
in the future and not more than a couple days in the past. Perhaps the
time in seconds since 1970 may be more useful - any opinions?

Michael