On Tue, 15 Jul 2003, Ben Bennett wrote:
> > > Ommissions from Date::Parse:
> > > - July 14th will not be parsed (I don't have localized info on the
> > > numeric suffixes)
> >
> > How about you just assume /\d{1,2}\w+/?
>
> Perhaps, I will play with it when the rest is finished. Input from
> people who speak other languages would be appreciated. I think that
> would be okay in French, I am a bit concerned about how it behaves
> with non-Latin languages.
It works as long as they're using Arabic numerals. If people want to
write dates with native numerals (Chinese, for example) that's beyond the
scope of common parsing, and not your problem.
> > What happens in the event of input being in an unknown locale? As in "we
> > don't know what locale this is in" rather than "we don't have locale
> > data for xy_XX".
>
> Erm... maybe later I will make something that can deal with ambiguous
> locales. That seems like a non-Simple.pm task (I realize that it
> isn't that hard to do, but may be slow).
No, just default to the 'root' locale (which is really en_US). _That's_
simple ;)
-dave
/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/