[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VCARDDAV] Format of various date fields




> -----Original Message-----
> From: vcarddav-bounces at ietf.org [mailto:vcarddav-bounces at ietf.org] On
> Behalf Of Simon Perreault
> Sent: Friday, May 09, 2008 8:10 AM
> To: vcarddav at ietf.org
> Subject: Re: [VCARDDAV] Format of various date fields
> 
> On Thursday 08 May 2008 21:28:45 Darryl Champagne wrote:
> > > - I think that the DATE, TIME, and DATE-TIME value types are *very
> well
> > > defined* and that converting to/from them will not be ambiguous at
all.
> > > Do you disagree?
> >
> > They are relatively well defined, but not as simple as they could be -
> > Primarily in the optional "-" and ":" characters (and that each one is
> > individually optional per the abnf, rather than either use them for all
> or
> > not as per ISO).  Do we really need both basic and extended format, and
> > should a mix (e.g. 2008-0612) be allowed, as per the abnf?
> 
> Oh, sure, purely syntactic issues are easy to fix. Consider it done.
> 
>    date = date-fullyear ["-" date-month ["-" date-mday]]
> 
>    time = time-hour [":" time-minute [":" time-second [time-secfrac]]]
>            [time-zone]
> 

Thanks,
dgc


_______________________________________________
VCARDDAV mailing list
VCARDDAV at ietf.org
https://www.ietf.org/mailman/listinfo/vcarddav