Example #1
0
 def published_timestamp(self):
     return timeutils.totimestamp(self.published_at)
Example #2
0
def set_global_cal_time(last_cal_time):
    timestamp = timeutils.totimestamp(last_cal_time)
    warm_conn.set(GLOBAL_CAL_TIME, timestamp)