Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BDB08480D for ; Wed, 6 Jul 2011 00:05:44 +0000 (UTC) Received: (qmail 2391 invoked by uid 500); 6 Jul 2011 00:05:43 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 2315 invoked by uid 500); 6 Jul 2011 00:05:42 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 2307 invoked by uid 99); 6 Jul 2011 00:05:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2011 00:05:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mrtrick@gmail.com designates 209.85.161.180 as permitted sender) Received: from [209.85.161.180] (HELO mail-gx0-f180.google.com) (209.85.161.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2011 00:05:34 +0000 Received: by gxk10 with SMTP id 10so4394970gxk.11 for ; Tue, 05 Jul 2011 17:05:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=eNxbXxiRd0Z5y15eGRQpfWFB5KStwt0AjE97CDL80k4=; b=I+8hPObABdcs9gsDf43mXuPfIQU6z7nx66IVTKJW+ASwvhSKgVG0El4FE3eAQgeVkq 9hWvEA/UPLrnC+sX+aBYpo/5gM/3v1R4uQW9rj1fmnX9OcMvkcpOqTi8Cf3eCPOk5Rjv nPozosPV7mNZ2RR7G0U4WSPP7MIkKu+XyOrgI= Received: by 10.150.175.15 with SMTP id x15mr6731763ybe.442.1309910713685; Tue, 05 Jul 2011 17:05:13 -0700 (PDT) Received: from [138.25.47.215] (eng047215.eng.uts.edu.au [138.25.47.215]) by mx.google.com with ESMTPS id l22sm2291404ybl.12.2011.07.05.17.05.12 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Jul 2011 17:05:13 -0700 (PDT) Message-ID: <4E13A6B2.2040708@gmail.com> Date: Wed, 06 Jul 2011 10:05:06 +1000 From: Patrick Barnes User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Re: json date representations References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I use ISO8601 as well; "2010-08-29T13:07:49+10:00" (generated using PHP date('c');) On 6/07/2011 9:49 AM, Rudi Benkovič wrote: > Hi, > > I'm writing a little CouchDB administration utility and would like to > find out how most of you store data values in JSON. From .NET via > Newtonsoft's JSON serializer, dates end up in the ISO 8601 as a > string, like this: > > { Timestamp": "2011-05-12T20:52:02.3774261Z" } > > Let me know what other formats are used, as I'd like to cover as much > of them as possible - hopefully the Javascript view code will be able > to detect them automatically. > > Thanks! > > Rudi >