Commits

Kevin Veroneau committed c98e74a

Fixed bug with some movies displaying minutes longer than 59.

Comments (0)

Files changed (1)

collection/models.py

     else:
         hours = 0
         mins = int(tokens[0])
+        while mins > 59:
+            hours+=1
+            mins-=60
         return datetime.datetime(1983, 05, 10, hours, mins)
     try:
         mins = int(tokens[2])