Exemple #1
0
 def end(self):
     return DateTime(calcTime(self.context)[1])
 def time(self):
     timerange = calcTime(self.context)
     if not timerange:
         return 'Unknown'
     return "%s - %s" % tuple([ x.split()[1] for x in  timerange])
Exemple #3
0
 def start(self):
     return DateTime(calcTime(self.context)[0])
Exemple #4
0
 def time(self):
     timerange = calcTime(self.context)
     if not timerange:
         return 'Unknown'
     return "%s - %s" % tuple([x.split()[1] for x in timerange])