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

Re: [PATCH] Unify human represented timestamp formats.

From: Josef Wolf <jw_at_raven.inka.de>
Date: 2002-06-23 01:42:35 CEST

On Sat, Jun 22, 2002 at 03:01:33PM -0500, Karl Fogel wrote:

> Personally, I don't have any issue with storing a few extra bytes per
> string (that is, having weekday names in the repository strings).

I think I had too much beer today. This must be the reason for my
confusion. I can understand that you want weekday names and month
names on user-visible output. But why on hell do you want to _store_
them in the repo? Why not store in GMT and use localtime() (or some
apr-aequivalent) for output? Life is much easier when you choose some
canonical format (for example yyyymmdd-hhmmss in GMT would be fine in
this case yyyy-mm-ddThh:mm:ss would be neither better nor worse) for
internal storage and let convert input- and output-functions to/from
this format.

> My real priority is the first one: make default human-presentation
> strings as readable as possible, which means including the weekday
> name and (IMHO) possibly the month name as well.

Well, this is the job of the input-/output-functions. This has nothing
to do with the (internal) storage format.

Hmm, I am not sure whether I should get a new beer ;-)

-- 
-- Josef Wolf -- jw@raven.inka.de --
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 23 01:45:16 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.