[exim-dev] Adding RFC 2822 date parsing code

Top Page
Delete this message
Reply to this message
Author: Michael Haardt
Date:  
To: exim-dev
Subject: [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