[Python-Dev] datetime module enhancements
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat Mar 10 01:59:12 CET 2007
Collin Winter wrote:
> Treat dates as if they have a time-part of midnight. This is my preferred
> solution, and it is already what the datetime module does, for example,
> when subtracting two dates.
Does it really? Seems to me you can pick any time of day
to be the representative time and get the same result
when subtracting two dates, as long as you pick the same
one for both dates. So it's not really assuming anything
here.
--
Greg
More information about the Python-Dev
mailing list