Boost logo

Boost :

From: Victor A. Wagner, Jr. (vawjr_at_[hidden])
Date: 2003-09-06 01:38:15


At Friday 2003-09-05 12:46, you wrote:
>"Iain K. Hanson" <iain.hanson_at_[hidden]> writes:
>
> > On Fri, 2003-09-05 at 17:34, Joel de Guzman wrote:
> >
> >> In my ET implementation (no it's not part of date_time yet, AFAIK),
> >> I allow: Y/M/D and M/D/Y only.
> >>
> >> Pardon the confusion, 1/Jan/1970 is indeed an illegal date (asserts)
> >
> > So you are allowing US date format M/D/Y but not European date format
> > D/M/Y. Thats a little US centric, is it not?
>
>Yeah, it does to me too. The Euro format is a lot less ambiguous.
>The problem is that if you allow 1970/Jan/1 and 1/Jan/1970 you have
>an ambiguity problem which you can only sort out at runtime, and only
>if the user isn't using years in the first century A.D.

there was some year in which January had 1970 days? wow...missed THAT in
my study of calendars

>--
>Dave Abrahams
>Boost Consulting
>www.boost-consulting.com
>
>_______________________________________________
>Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
               "There oughta be a law"


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk