Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:SELab-2/UGent-1 into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
robinpdev committed Apr 18, 2024
2 parents fd11edb + 38797da commit db004b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/app/[locale]/components/ListView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ interface ListViewProps {

const convertDate = (date_str: string) => {
let date = new Date(date_str);
const userTimeZoneOffset = date.getTimezoneOffset();
date = new Date(date.getTime() - userTimeZoneOffset * 60000);
date = new Date(date.getTime());
let date_local = date.toLocaleString('en-US', {
month: '2-digit',
day: '2-digit',
Expand Down

0 comments on commit db004b8

Please sign in to comment.