coverted to milllisec in a readable format

pull/1097/head
smit95tpatel 2021-12-28 12:27:25 +05:30
parent 2b8964eeaa
commit ba67d68807
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ export const initialParams = {
};
export const convertToSec = (val) => {
return +new Date(val)/1000;
return (new Date(val).getTime())/1000;
};
export const checkErrors = (params) => {