Skip to content

Commit

Permalink
refactor: 월 시간 개산 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
qwer0114 authored and qwer0114 committed Dec 4, 2024
1 parent 00d3794 commit 47bd93c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/client/src/utility/chart/chartTimeUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ export const getPeriodMs = (activePeriod: CandlePeriod, minute?: number) => {
case 'minutes':
return (minute || 1) * 60 * 1000;
case 'days':
return 24 * 60 * 60 * 1000;
return false;
case 'weeks':
return 7 * 24 * 60 * 60 * 1000;
return false;
case 'months':
return 30 * 24 * 60 * 60 * 1000;
return false;
default:
return 60 * 1000;
return false;
}
};

0 comments on commit 47bd93c

Please sign in to comment.