On Mon, 9 Jun 2003, Dave Rolsky wrote:
> > Attached is DateTime.diff. This file contains extensions to DateTime
> > to allow it to match the outputs of the ICU project.
> >
> > Strftime has also been patched to allow one to use methods as
> > strftime tokens: '%H' returns the same as '%{hour}'
> >
> > Once Dave has approved this patch, or at least the names of the new
> > methods, I can provide Richard Evans with the convertor file for the
> > ICU locales and I can prepare the new strptime, removing the
> > customised strftime (and with object based croak behavior).
>
> Somehow I either didn't notice this or forgot about it. Anyway, I've
> applied it mostly, except that for era I used "ACE" and "BCE", because I'm
> really not comfortable favoring one religion over another inside the core
> code.
Ok, I'm also _really_ confused about week_month(). What the heck is this
supposed to return? For July 5, 2001 it's returning 2, which seems wrong
to me, since July 5 is clearly part of the first week of July.
The comment mentions ISO but I find no reference to such a thing in
ISO8601.
-dave
/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/