W3C home > Mailing lists > Public > public-html@w3.org > August 2009

Re: [http-state] cookie dates [was Re: Status update]

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 12 Aug 2009 15:02:31 -0500
Message-ID: <dd0fbad0908121302ya4c9776u4ebe4ea54a82fd8b@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: Julian Reschke <julian.reschke@gmx.de>, Daniel Stenberg <daniel@haxx.se>, "public-html@w3.org" <public-html@w3.org>
On Wed, Aug 12, 2009 at 2:42 PM, Ian Hickson<ian@hixie.ch> wrote:
> On Wed, 12 Aug 2009, Julian Reschke wrote:
>>
>> For instance, when I look at "month" I find:
>>
>> "2.4.5.1 Months
>>
>> A month consists of a specific proleptic Gregorian date with no time-zone
>> information and no date information beyond a year and a month. [GREGORIAN]
>>
>> A string is a valid month string representing a year year and month month if
>> it consists of the following components in the given order:
>>
>>    1. Four or more digits, representing year, where year > 0
>>    2. A U+002D HYPHEN-MINUS character (-)
>>    3. Two digits, representing the month month, in the range 1 ≤ month ≤
>> 12"
>>
>> So it defines "month" (in bold) to be a date, consisting of a year and a month
>> (non-bold). This is confusing.
>>
>> Why not simply say:
>>
>>   year  = 4*DIGIT ; 4 or more digits, year > 0
>>   month = 2DIGIT  ; 2 digits, 1 <= month <= 12
>>
>>   month-string = year "-" month
>>
>> ?
>
> That's a matter of opinion. Personally I find the prose version much more
> approachable.

Fwiw, I also find the prose version currently in the spec much easier
to understand.

~TJ
Received on Wednesday, 12 August 2009 20:03:31 UTC

This archive was generated by hypermail 2.3.1 : Friday, 10 October 2014 16:24:50 UTC