SOLM 1.2b1 RTF Avatar
  1. OMG Issue

SOLM12 — TimeInterval output string formatter has incorrect formatting

  • Key: SOLM12-18
  • Status: open  
  • Source: Kratos RT Logic, Inc. ( Mr. Justin Boss)
  • Summary:

    Within SpacePython times.py TimeInterval _str_() function, the following lines are faulty:

    hours = seconds / 3600
    minutes = (seconds % 3600) / 60

    Both of these variables should be integers (not floating point values)

    These instead should be:
    hours = int(seconds / 3600)
    minutes = int((seconds % 3600) / 60)

  • Reported: SOLM 1.1 — Wed, 13 Nov 2024 00:34 GMT
  • Updated: Wed, 13 Nov 2024 00:38 GMT