Re: strange python datetime issue on people.apache.org
From: Greg Stein <gstein_at_gmail.com>
Date: Fri, 14 May 2010 21:34:47 -0400
On Fri, May 14, 2010 at 20:56, Dongsheng Song <dongsheng.song_at_gmail.com> wrote:
Well, first you want to ensure that you're performing that math using
round((dt.days * 24. + dt.seconds / 3600.) / 4)
In any case, it looks like you're counting the number of 4-hour
btw, in Python, you don't really want/need those trailing semicolons :-)
Cheers,
|
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.