Skip to content

Commit

Permalink
Merge pull request #414 from cBarbosa/Producao-Assistida-V3
Browse files Browse the repository at this point in the history
Ajuste data do evento
  • Loading branch information
renatoSouzaAlmeida committed Feb 3, 2024
2 parents 9ae3f88 + f616ece commit 90d3ec4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,11 @@ export class EditEventSidebarComponent {
guidCliente: editFormData.proprietary,
nome: editFormData.nomeEvento,
descricao: editFormData.descricao,
dthRealizacao: editFormData.dataEvento != ''
? (editFormData.dataEvento as Date)?.toISOString?.()
: null,
dthRealizacao: new Date(editFormData.dataEvento),
lstUnidades: editFormData.unidade
};

console.log('editFormData.dataEvento ', editFormData.dataEvento );
console.log('on register', edicaoObj);

// if (this.onSubmitForm) this.onSubmitForm(edicaoObj);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export type CreateEventObj = {
guidReferencia: string | null;
nome: string;
descricao: string;
dthRealizacao: string | null;
dthRealizacao: Date;
lstUnidades: string[];
};

Expand Down

0 comments on commit 90d3ec4

Please sign in to comment.