示例#1
0
文件: models.py 项目: ciju/perf-hier
 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
文件: models.py 项目: ciju/perf-hier
 def idx2ts(i, ms):
     return utils.add_hrs(i, ms)