I am trying to “filter” to resume only the data during the current month. Has anyone been through this issue
ex.:
obterTodasSaidasCadastro = () => {
const currentMonth = new Date();
const cMonth = currentMonth.getMonth();
…
.filtered(
saida_cadastro != null AND data_obito == ${cMonth}
,
),
…
});};
even testing manually like this: data_obito = 2021-03-03T00: 00: 00.000Z, did not work
or
data_obito = 2021-03-03, did not work
and in this example, even using template string, it doesn’t work, who knows, could post the solution here,
Thank you very much in advance