about summary refs log tree commit homepage
path: root/lib/PublicInbox/SearchMsg.pm
diff options
authorEric Wong <e@80x24.org>2017-01-07 01:44:50 +0000
committerEric Wong <e@80x24.org>2017-01-07 01:45:44 +0000
commitf63ea68e457f9e2618eac1d3d62227d2b605651b (patch)
treec9edf5e140ef4ebee9391e2b18fb5fa8effd9203 /lib/PublicInbox/SearchMsg.pm
parentb6de8d4f10aaca3f02707be45b4cd2dc04f48a1f (diff)
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.
Diffstat (limited to 'lib/PublicInbox/SearchMsg.pm')
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchMsg.pm b/lib/PublicInbox/SearchMsg.pm
index 96406c6f..4522eb62 100644
--- a/lib/PublicInbox/SearchMsg.pm
+++ b/lib/PublicInbox/SearchMsg.pm
@@ -69,7 +69,7 @@ sub subject ($) { __hdr($_[0], 'subject') }
 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);