Bill Clark wrote:
I've added the ability to specify a preference (or
no preference) for
era names in dates (BC vs. BCE). I've also fixed a couple bugs in the
regular expressions that match for dates, that were preventing the
parser from recognizing (and converting) dates that ended in BCE or
which were written in ISO format and fell between -999-01-01 and
999-12-31 (i.e. had a one-, two-, or three-digit year).
I'm not an actual committer so I'm submitting this as a diff -ru to
the mailing list. I'm sure that's the wrong procedure and I'll be
scolded for it, but hey I'll learn.
I've tested this and it works on my local version (checked out of svn
a few hours ago) but I imagine it should be tested more.
-Bill Clark
That's a great idea. It might also be useful to make the code also
switch 'AD' and 'CE', for dates such as, for example, 4 AD / 4 CE.
-- Neil