diff options
author | Frederick Yin <fkfd@fkfd.me> | 2022-04-08 22:51:27 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2022-04-08 22:51:27 +0800 |
commit | 5188870ea50dc6d8db56ea003270769bc4ec2011 (patch) | |
tree | ae8f78fbcead7632fe726c3bf9158c1da570849b /contents/ui/main.qml | |
parent | 1c67f456bc1117c68fc7a76fc7bedde78a8f530c (diff) |
Represent due date in human-friendly format
Diffstat (limited to 'contents/ui/main.qml')
-rw-r--r-- | contents/ui/main.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contents/ui/main.qml b/contents/ui/main.qml index f4eed97..38168d6 100644 --- a/contents/ui/main.qml +++ b/contents/ui/main.qml @@ -72,7 +72,7 @@ Item { activityId: activity.id, course: course[1], title: activity.title, - due: activity.assignment.due_at, + dueAt: activity.assignment.due_at, url: activity.html_url, important, }) @@ -140,7 +140,7 @@ Item { type: "assignment" course: "EE210" title: "Title" - due: "2022-12-31T23:59:59Z" + dueAt: "2022-04-10T15:59:59Z" url: "https://xkcd.com" important: true activityId: 1 |