Skip to content

Commit

Permalink
Adjusting formatDateAndTime function to deployed server
Browse files Browse the repository at this point in the history
  • Loading branch information
develad committed Nov 27, 2023
1 parent 8382238 commit e0f7466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const formatDateAndTime = (rawTimeAndDate) => {
// second: 'numeric',
hour12: false,
})
.format(new Date(rawTimeAndDate))
.format(new Date(new Date(rawTimeAndDate).getTime() + 1000 * 60 * 60 * 2))
?.split(',')
?.reverse()
?.join(' | ');
Expand Down

0 comments on commit e0f7466

Please sign in to comment.