Skip to content

Commit

Permalink
Merge pull request #242 from Hanbang-NeungYo-Baeksook/develop
Browse files Browse the repository at this point in the history
[Hotfix] 🍀utc 시간 변경
  • Loading branch information
hhbb0081 authored Dec 29, 2024
2 parents 8bf204f + f47e3a2 commit 9f0bc2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Admin/main/WaitingBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function WaitingBox({
</span>
</div>
<div className='flex items-center justify-between'>
<span className='max-w-[250px] overflow-hidden truncate whitespace-nowrap text-[0.875rem]'>
<span className='max-w-[200px] overflow-hidden truncate whitespace-nowrap text-[0.875rem]'>
{content}
</span>
<span className='text-[0.75rem]'>
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useTimer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const useTimer = (startTime: string | Date) => {
const startDate = new Date(startTime);
const now = new Date();

const timeDiff = now.getTime() - startDate.getTime() + 9 * 60 * 60 * 1000;
const timeDiff = now.getTime() - startDate.getTime() - 9 * 60 * 60 * 1000;

const diffInSeconds = Math.floor(timeDiff / 1000);

Expand Down

0 comments on commit 9f0bc2e

Please sign in to comment.