We only need strftime to be locale-independent when generating
dates for email and HTTP headers. Purely numeric dates can
use strftime for ease-of-readability.
sub to ($) { __hdr($_[0], 'to') }
sub cc ($) { __hdr($_[0], 'cc') }
-# no strftime, that is locale-dependent
+# no strftime, that is locale-dependent and not for RFC822
my @DoW = qw(Sun Mon Tue Wed Thu Fri Sat);
my @MoY = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);
use strict;
use warnings;
-# FIXME: locale-independence:
use POSIX qw(strftime);
use Date::Parse qw(strptime);
use Digest::SHA qw(sha1_hex);