harmdevries commited on
Commit
32d65b5
1 Parent(s): 78ba56c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ for milestone in inference_repo.get_milestones():
16
  desc[tmp[0].lower()] = tmp[1].lower().strip()
17
  st.write(type(milestone.due_on))
18
  st.write(desc['start date'])
19
- df.append(dict(Task=milestone.title, Start=desc['start date'], Finish=milestone.due_on, Resource=desc['status']))
20
 
21
  colors = {'not started': 'rgb(220, 0, 0)',
22
  'incomplete': (1, 0.9, 0.16),
 
16
  desc[tmp[0].lower()] = tmp[1].lower().strip()
17
  st.write(type(milestone.due_on))
18
  st.write(desc['start date'])
19
+ df.append(dict(Task=milestone.title, Start='2023-01-19', Finish=milestone.due_on.strftime('%Y-%m-%d'), Resource=desc['status']))
20
 
21
  colors = {'not started': 'rgb(220, 0, 0)',
22
  'incomplete': (1, 0.9, 0.16),