simpler increment of time values?

Devin Jeanpierre jeanpierreda at gmail.com
Thu Jul 5 07:05:45 CEST 2012


On Thu, Jul 5, 2012 at 12:57 AM, Jason Friedman <jason at powerpull.net> wrote:
> I have some thoughts on a solution, but first, what is 12:45 plus 12
> hours?  What is 12:45 minus 13 hours?

Is there anything unusual that can happen for a notion of time that is
dateless, timezone-unaware, and DST-free?

I would imagine that under these constraints the answers are always
0:45 and 23:45 respectively. Although I guess it doesn't hurt to check.

-- Devin



More information about the Python-list mailing list