[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PROPOSAL] Temporary date format for humans

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-06-23 11:15:04 CEST

On Sun, Jun 23, 2002 at 01:59:35AM -0700, Justin Erenkrantz wrote:
> On Sun, Jun 23, 2002 at 11:20:27AM +0300, Nuutti Kotivuori wrote:
> > Since getting a consensus on anything concerning dates is
> > like.. difficult, I'll try to get a consensus on a temporary
> > timeformat. This timeformat would just stay until someone can think of
> > something better.
> >
> > So, here goes:
> >
> > Sun, 23 Jun 2002 11:13:02 +0300
>
> ++1. And, as I've said before, I'd wish that this is the final
> human date format, too.

+1 for now, but I'm more interested in seeing the code go in than what
format to use. I'm also +1 on "2002-06-23 11:13:02 +0300"

> My email and my web servers all speak RFC822 (with 4-digit years).
> Why shouldn't my version control software do that too? -- justin

And I'll note that apr_rfc822_date() generates the above format, with a
4-digit year, and a hard-coded 'GMT' for the timezone.

It really ought to say UTC, but hey.

It appears that apr-util's apr_date_parse_rfc() will parse this format,
including the +/- HHMM timezone information.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 23 11:14:36 2002

This is an archived mail posted to the Subversion Dev mailing list.