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

Re: RFC: a human-eye date format everyone can love

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2002-06-24 19:29:14 CEST

That seems like a great compromise. If I can vote, I vote +1 on this.

   - David Summers

On Mon, 24 Jun 2002, Karl Fogel wrote:

> Please read "RFC" as "Request For Consensus"... :-)
>
> Now that Hadaka has committed the bulk of the new date output code, we
> should decide on a human-output date format. Currently, svn is
> printing:
>
> "Mon, 24 Jun 2002 10:36:04 -0500"
>
> ...but we all know this is just a placeholder until we figure out what
> we really want. On IRC just now, Hadaka came up with a neat solution,
> which we'd like to propose together:
>
> "2002-06-24 10:36:04 -0500 (Mon 24 Jun)"
>
> The goal of this format is to start with an ISO-8601 section (and
> perhaps compliant with some other standards as well), followed by a
> clearly delimited second section intended for human consumption.
>
> Automatic parsers will only read as many chars as they need, since
> they know the width of the standard-compliant date. Meanwhile,
> English-reading humans can look at the second section to do faster
> mental processing. Everybody wins.
>
> Furthermore, since the second section is ignored by automatic
> processors, we can make it locale-sensitive, so non-English-readers
> can get friendly output too.
>
> The main disadvantage here is that this format is slightly longer than
> the old one. We don't see a big problem, though; it's still short
> enough that it keeps log output well within an 80-column line. IOHO
> the extra information is worth it.
>
> NOTE: If I made any errors in formatting the first part of the date
> above, please point them out. We certainly intend to propose
> standards-compliance in that portion. Hadaka points out that the
> space before the "-0500" might be illegal; in that case, I'm +1 on
> keeping the space anyway for readability, also +1 on eliminating it
> for compliance :-) ).
>
> Thoughts?,
> -Karl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

-- 
David Wayne Summers          "Linux: Because reboots are for upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 24 19:31:28 2002

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