Menu

TimeDelta_or_None still has problem

Red Forks
2009-07-27
2012-09-19
  • Red Forks

    Red Forks - 2009-07-27

    The problem is when hour part is '-00", then int('-00') will return 0, and sign is lost. I made a patch:

    60a61
    > nagative = h[0] == '-'
    64c65
    < if h < 0:


    > if nagative:

     
    • Red Forks

      Red Forks - 2009-07-27

      function TimeDelta_or_None() in MySQLdb.times module

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.