Commits

Anonymous committed 584f1b4

fix typo: there is no humanTimedelta function

  • Participants
  • Parent commits ba7c74b

Comments (0)

Files changed (1)

File hachoir-core/hachoir_core/field/timestamp.py

-from hachoir_core.tools import (humanDatetime,
+from hachoir_core.tools import (humanDatetime, humanDuration,
     timestampUNIX, timestampMac32, timestampUUID60,
     timestampWin64, durationWin64)
 from hachoir_core.field import Bits, FieldSet
         GenericTimestamp.__init__(self, parent, name, 64, description)
 
     def createDisplay(self):
-        return humanTimedelta(self.value)
+        return humanDuration(self.value)
 
     def createValue(self):
         value = Bits.createValue(self)