[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Duration: Does 1 day == 24 hours?
At 11:48 2001-03-28 -0600, you wrote:
DTSTART;VALUE=DATE:20010328
DURATION:P1D
Yes the duration of this event is one whole day (24/25
hours, but that's another issue).
I disagree. As evidence, how would you interpret a DURATION:P1M? Is it 30
day*24 hours? Or is it 28, 29 or 31? And what do you do for the other
calendar specific forms of DURATION values?
Nothing above a week is mentioned in RFC2445 4.3.6.
The time specific values provide clock based granularity. The calendar
specific value provide date based granularity. To take the latter and turn
it into the former defeats the benefits of this type of DURATION.
but RFC2445 gives a duration example that combines both: P15DT5H0M20S
How should this be interpreted- does a day have a different
meaning when used with and without a time?
--Alan