forked from AshwinGorle/seating-arrangement-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstant.js
27 lines (18 loc) · 937 Bytes
/
constant.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// constants.js
export const morningStartTime = new Date();
morningStartTime.setHours(6, 0, 0, 0); // Set to 6:00 AM
export const morningEndTime = new Date();
morningEndTime.setHours(12, 0, 0, 0); // Set to 12:00 PM
export const noonStartTime = new Date();
noonStartTime.setHours(12, 0, 0, 0); // Set to 12:00 PM
export const noonEndTime = new Date();
noonEndTime.setHours(18, 0, 0, 0); // Set to 6:00 PM
export const eveningStartTime = new Date();
eveningStartTime.setHours(18, 0, 0, 0); // Set to 6:00 PM
export const eveningEndTime = new Date();
eveningEndTime.setHours(23, 0, 0, 0); // Set to 11:00 PM
export const fullDayStartTime = new Date();
eveningStartTime.setHours(6, 0, 0, 0); // Set to 6:00 PM
export const fullDayEndTimeEndTime = new Date();
eveningEndTime.setHours(23, 0, 0, 0); // Set to 11:00 PM
export const defaultAvatarUrl = "https://image.freepik.com/free-vector/businessman-profile-cartoon_18591-58479.jpg"