Boost logo

Boost :

From: Joel de Guzman (djowel_at_[hidden])
Date: 2003-09-05 20:41:57

David Abrahams <dave_at_[hidden]> 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.

Right. If the user is willing not to use 1..31 A.D., we can support both.
Thoughts? I do not have an opinion on this matter. I just need the ET
to work.

Joel de Guzman

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