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

Re: [SVN-DEV] Re: [RESUBMIT] [PATCH] svn_parse_date rewrite (issue #408)

From: Branko Èibej <brane_at_xbc.nu>
Date: 2001-09-20 01:21:05 CEST

C. Scott Ananian wrote:

>You're completely wrong here. Look at how the code is structured.
>The idea is that you have a 'now' time: say 12:34:59. You want
>"now plus 5 seconds" or "now plus 5 months" or what-have-you.
>
Ah. You're right. I plead inasnity and/or lack of sleep.

Hm. So if I understand correctly, you take an absolute time (a given
"now") and add an interval to it.

Do you have to do that separately for each field? Would it be possible
to convert the "plus five months" to an apr_interval_time_t (based on
"now", of course), implode "now" to an apr_time_t, add the two and
explode the time again?

-- 
Brane �ibej   <brane_at_xbc.nu>            http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:42 2006

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.