set duration

This commit is contained in:
tiago.kayaya
2021-08-20 16:44:48 +01:00
parent 8fe761c931
commit 2b21af3511
2 changed files with 3 additions and 3 deletions
@@ -154,7 +154,7 @@ export class GabineteDigitalPage implements OnInit, DoCheck {
}
const pathname = window.location.pathname
this.router.events.forEach((event) => {
if(event instanceof NavigationEnd && event.url == pathname) {
@@ -266,7 +266,7 @@ export class GabineteDigitalPage implements OnInit, DoCheck {
}
getCustomDate(thedate: Date){
return (thedate.getDay()+1) + "/" +
return thedate.getDate() + "/" +
(thedate.getMonth()+1) + "/" +
thedate.getFullYear();
}