> One way to tidy this up would be to re-implement the meridiem markers
> using the seq_search functions, i.e., make it work like the day and
> month names. This would make it easy to accept any flavour of marker,
> and the error messages thrown for bogus input would then be the same
> as those for bogus day and month names.
> Note that all of the above applies equally to the era markers B.C. and A.D.
+1 ... making these work like month names makes sense to me.
regards, tom lane