[SHOPTIME-3563] Q-Event/System Alarm 연동

변경 파일:
1. mainActions.js
2. helperMethods.js
3. LiveVideoCard.jsx
4. NoLiveCard.jsx
5. UpComingCard.jsx
6. OrderListCardTopContents.jsx
7. ReminderCard.jsx

변경 내용:
1. setMainLiveUpcomingAlarm 함수, onSuccess 함수 안에 lunasend params 변경
2. parseDateTime 함수 삭제
3, 4, 5, 6, 7. server time → system time 반영
This commit is contained in:
younghoon100.park
2024-09-10 19:09:10 +09:00
parent 93129b1e41
commit 3a2589d66f
7 changed files with 40 additions and 48 deletions

View File

@@ -482,21 +482,3 @@ export const parseLocalizedNumber = (numberString, countryCode) => {
return parseFloat(numberString);
};
export const parseDateTime = (dateTimeStr) => {
const dateTimePattern = /(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})/;
const matches = dateTimeStr.match(dateTimePattern);
if (matches) {
const [_, year, month, day, hour, minute, second] = matches.map(Number);
return {
year: year,
month: month,
day: day,
hour: hour,
minute: minute,
second: second,
};
}
};