From 97a7e8690749626091c62058fc1b97770c05bac8 Mon Sep 17 00:00:00 2001 From: jakehobbs Date: Sun, 18 Apr 2021 16:43:00 -0500 Subject: [PATCH] account for sql time zone --- frontend/ChapterList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/ChapterList.vue b/frontend/ChapterList.vue index 17a621b..42cc564 100644 --- a/frontend/ChapterList.vue +++ b/frontend/ChapterList.vue @@ -728,7 +728,7 @@ export default Vue.extend({ .format('YYYY-MM-DD'); }, colorFBSyncStatus(text: string) { - const time = moment(text); + const time = moment(text).add(8, 'hour'); // this converts our DB time for this field to UTC console.log(time); let color = 'grey'; if (time.isValid()) {