Fix action

This commit is contained in:
Peter Maquiran
2021-08-09 13:56:17 +01:00
parent 08c5a959d5
commit 8da233c1bc
14 changed files with 58 additions and 60 deletions
@@ -52,7 +52,9 @@ export class DocumentDetailPage implements OnInit {
this.LoadedDocument.Subject = this.LoadedDocument.Assunto
let thedate = new Date(this.LoadedDocument.DateDispatch);
let thedate = new Date(this.LoadedDocument.DateDispatch || this.LoadedDocument.DocDate);
console.log(res)
this.customDate = this.days[thedate.getDay()]+ ", " + thedate.getDate() +" de " + ( this.months[thedate.getMonth()]);
});
}