From 5188870ea50dc6d8db56ea003270769bc4ec2011 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Fri, 8 Apr 2022 22:51:27 +0800 Subject: Represent due date in human-friendly format --- contents/ui/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contents/ui/main.qml') 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 -- cgit v1.2.3