Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-09-10 09:28:10

"Victor A. Wagner, Jr." <vawjr_at_[hidden]> writes:

> 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

Victor, your content-to-noise seems pretty low today. Are you joking?

The probem is how to interpret 1/Jan/1 and suchlike.

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at