경매시간 최소값 체크 수정
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import { ONE_MINUTE_MS } from '../assets/data/adminConstants';
|
||||
|
||||
export const convertKTC = (dt, nation = true) => {
|
||||
if (!dt) return "";
|
||||
if (typeof dt !== "string") return "";
|
||||
@@ -55,8 +53,4 @@ export const truncateText = (text) => {
|
||||
return text.substring(0, maxLength) + '...';
|
||||
}
|
||||
return text;
|
||||
};
|
||||
|
||||
export const msToMinutes = (ms) => {
|
||||
return ms / ONE_MINUTE_MS;
|
||||
}
|
||||
};
|
||||
@@ -1,3 +1,5 @@
|
||||
import { ONE_MINUTE_MS } from '../assets/data/adminConstants';
|
||||
|
||||
export const convertStartDateToISO = (date) => {
|
||||
if (!date) return null;
|
||||
const startDate = new Date(date);
|
||||
@@ -27,4 +29,8 @@ export const getTimeOnly = (dateString) => {
|
||||
second: '2-digit',
|
||||
hour12: false
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
export const msToMinutes = (ms) => {
|
||||
return ms / ONE_MINUTE_MS;
|
||||
}
|
||||
Reference in New Issue
Block a user