Source

muyhomepage2 / muyhomepage2 / util.py

Diff from to

muyhomepage2/util.py

     def utc(self):
         return time.gmtime(self._time)
 
+    def __int__(self):
+        return int(self._time)
+
     def __str__(self):
         return time.strftime(TIME_FMT_MUY, self.local())