mirror of https://github.com/statping/statping
coverted to milllisec in a readable format
parent
2b8964eeaa
commit
ba67d68807
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue