Subject: | Documentation typo |
Date: | Thu, 9 Oct 2008 09:13:13 -0700 |
To: | bug-DateTime [...] rt.cpan.org |
From: | "Vynce Montgomery" <vynce.montgomery [...] gmail.com> |
from http://search.cpan.org/~drolsky/DateTime-0.4305/lib/DateTime.pm
=
$dt->year_with_era()
Returns a string containing the year immediately followed by its era
abbreviation. The year is the absolute value of ce_year(), so that
year 1 is "1BC" and year 0 is "1AD".
=
I think you mean 1 is "1AD" and 0 is "1BC".
.
Also, for whatever it's worth, technically the "AD" should go befor
ethe year, as in "AD 1960" -- though that's falling out of the common
use.
.