예제 #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)