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

Re: [PATCH] Generate ISO-8601 dates and canonicalize dates on 'svnadmin dump'

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-06-22 21:14:08 CEST

Nuutti Kotivuori <naked@iki.fi> writes:
> Log message:
> Generate ISO-8601 dates from now on. Also canonicalize dates on 'svnadmin
> dump'. The new datestamps look like this:
>
> 2002-06-22T09:14:58.030390Z

What is the reason to use a different format here than in the
human-readable strings? If the human date format complies with
ISO-8601 anyway, why not just use that for storage as well? (It can
be in GMT when necessary, that's just a GMT offset of 0:00.)

Consistency is good in general, developers won't have to keep
switching mental modes, etc, :-).

In other words, if these two seemingly separate problems...

  1. Have a bidirectional conversion between apr_time_t
     and some stringy storage format

  2. Have a human-readable date format

... are solveable with one format (which I think they are), then we
shouldn't multiply formats needlessly.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 22 21:23:35 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.