-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
export const ATTENDED = 'attended'; | ||
export const MEETING = '정기사서회의'; | ||
export const MEETING_MESSAGE_DELAY = 5; | ||
export const MEETING_FALLBACK_MESSAGE = | ||
'이 메세지를 보신다면 @sujikim DM 부탁드려요'; | ||
export const SHIFT = '사서근무'; | ||
export const SHIFT_WEEKEND = '주말사서근무'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export const getFutureUnixTimestamp = (minutes) => { | ||
const seconds = typeof minutes !== 'number' ? 0 : minutes * 60; | ||
const currentTimestamp = Math.floor(Date.now().getTime() / 1000); // 초 단위로 변환 | ||
|
||
return currentTimestamp + seconds * 60; | ||
}; |