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

Human representation of dates, opinions

From: Nuutti Kotivuori <naked_at_iki.fi>
Date: 2002-05-30 19:17:24 CEST

I think I'm about to write the short term fix for the human
representation of dates - that is 'svn log', 'svn info', 'svnlook' and
so on.

To re-iterate - the long term fix is to possibly make a clientside
configuration variable that can be used to specify the format of the
timestamps - or perhaps just decide on a proper format for everyone.

The short term fix is to make a function that produces some date
strings which are of a decent format atleast, even if not what people
really want.

So, let's see a few formats:

1) 2002-05-30T19:50:45Z
2) 2002-05-30 19:50:45Z
3) 2002-05-30T22:50:45+0300
4) 2002-05-30 22:50:45+0300

5) 2002-05-30 22:50:45 (+0300)
6) 2002-02-22 21:35 GMT
7) Thu May 30 20:15:43 EEST 2002
8) ...

Basically anything that can be formatted by apr_strftime is a
possibility.

Personally, I'd actually pick number three - but I believe most people
wouldn't be happy with it. Give your opinions, I'll get the code ready
in the meantime ;)

-- Naked

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 1 14:34:05 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.