|
|
@ -4,7 +4,7 @@ import webSocketClient from "../api/Websockets/webSocketClient"; |
|
|
|
function useFiltering(location) { |
|
|
|
const endpoint = webSocketClient; |
|
|
|
const initialDate = moment().add(1, "days").format("YYYY-MM-DDTHH:mm:ss"); |
|
|
|
const finalDate = moment().subtract(2, "days").format("YYYY-MM-DDTHH:mm:ss"); |
|
|
|
const finalDate = moment().subtract(1, "days").format("YYYY-MM-DDTHH:mm:ss"); |
|
|
|
|
|
|
|
console.log(`Criando sockets do useFiltering: ${moment().format('DD/MM, h:mm:ss:SSS')}`); |
|
|
|
|
|
|
|