user/dev discussion of public-inbox itself
 help / color / Atom feed
From: Eric Wong <>
Subject: HTTP::Date replacing Date::Parse [was: TODO: remove done items, add some more]
Date: Sun, 3 Nov 2019 09:02:42 +0000
Message-ID: <20191103090242.GA28983@dcvr> (raw)
In-Reply-To: <>

> +* consider using HTTP::Date instead of Date::Parse, since we need the
> +  former is capable of parsing RFC822-ish dates, used by Plack, and
> +  the latter is missing from OpenBSD and maybe other distros.

Ugh, HTTP::Date will try to use Time::Zone under the hood if
available for non-conformant dates.  And Time::Zone is part of
the same TimeDate package as Date::Parse, which I was trying to
stop depending on...

At least one incompatibility I've found is the inability of
HTTP::Date to handle the "+1" (yes, single digit) timezone
offset which we have a test case for in t/msgtime.t

There's probably a few more wacky historical cases which we lack
test cases for.  Hell, there's even a case of 3-digit years in
LKML history which we special-case for.

So, I'm not sure it's worth it...  The good thing is that going
forward, dates seem to much more conformant as clients got
better.  So there's only a finite set of historical special
cases which we'd need to deal with.

      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-13 21:54 [PATCH] TODO: remove done items, add some more Eric Wong
2019-11-03  9:02 ` Eric Wong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191103090242.GA28983@dcvr \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

user/dev discussion of public-inbox itself

Archives are clonable:
	git clone --mirror
	git clone --mirror http://czquwvybam4bgbro.onion/meta
	git clone --mirror http://hjrcffqmbrq6wope.onion/meta
	git clone --mirror http://ou63pmih66umazou.onion/meta

Example config snippet for mirrors

Newsgroups are available over NNTP:

 note: .onion URLs require Tor:

AGPL code for this site: git clone