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

request for small API change

From: SteveKing <steveking_at_gmx.ch>
Date: 2003-10-18 14:06:42 CEST

Hi,

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.

What do you think? Good or bad idea?

while at it: the svn_log_message_receiver_t callback
also returns the date as a string - that should be changed
too. I haven't found any other place where the date is
returned as a string but I'm not sure if I found all of them.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 18 14:08:58 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.