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

Re: request for small API change

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-10-18 17:59:16 CEST

On Sat, 2003-10-18 at 08:06, SteveKing wrote:
> I noticed that the new function "svn blame" has a callback
> function which provides the date as a string. I think this
> should be changed so that an svn_time_t value is returned
> instead of a string. That way clients can create a string
> for a date as they want (e.g. with localization).
> I think formatting dates/times to strings should be left
> to each client and not go into the subversion library itself.

Agreed (I've mentioned this myself in the past, though not in relation
to svn blame, of course). However, note that any string-form time can
be converted to an apr_time_t with svn_time_from_cstring(), so we're not
really limiting client flexibility here.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 18 18:00:01 2003

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.