Skip to content

Commit

Permalink
account for sql time zone
Browse files Browse the repository at this point in the history
  • Loading branch information
jakehobbs committed Apr 18, 2021
1 parent 76159b7 commit 97a7e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/ChapterList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 97a7e86

Please sign in to comment.