Пример #1
0
 def fill_entries(lst, ms, hrs):
     if len(lst) < last_month_hrs:
         lst.extend([str(utils.add_hrs(j, ms)), [0, 0]] for j in range(len(lst), last_month_hrs))
     return lst
Пример #2
0
 def idx2ts(i, ms):
     return utils.add_hrs(i, ms)