Skip to content

Commit

Permalink
fix: datetime UTC inconsistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Frige committed Mar 31, 2024
1 parent 09b1c23 commit c8b508c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/components/chapter/DatePostedLabel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
'Novembro',
'Dezembro',
];
const postedDatetime = new Date(datetimeString);
const postedDatetime = new Date(`${datetimeString} UTC`);
const postedRecentlyLabel = this.postedRecentlyLabel(postedDatetime);
if (postedRecentlyLabel) return postedRecentlyLabel;
Expand Down

0 comments on commit c8b508c

Please sign in to comment.