replace rfc822 with strftime