You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Sean Lin <se...@gmail.com> on 2009/06/07 10:20:33 UTC

DateTime format

According to the specs, the datetime format should be based on RFC3339,
http://www.ietf.org/rfc/rfc3339.txt.  

 

But canonicaldb.json  gives dates as yyyy-MM-dd for certain fields like
"birthday", "endDate", "startDate" but for certain fields like "updated", it
is in the right format.

 

Why?


Re: DateTime format

Posted by Paul Lindner <li...@inuus.com>.
Actually rfc 3339 is based off ISO 8601 which support truncated/partial
dates.
You might be thinking of xsd date formats which are more strictly defined.

On Sun, Jun 7, 2009 at 1:20 AM, Sean Lin <se...@gmail.com> wrote:

> According to the specs, the datetime format should be based on RFC3339,
> http://www.ietf.org/rfc/rfc3339.txt.
>
>
>
> But canonicaldb.json  gives dates as yyyy-MM-dd for certain fields like
> "birthday", "endDate", "startDate" but for certain fields like "updated",
> it
> is in the right format.
>
>
>
> Why?
>
>