mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
today date formated
This commit is contained in:
@@ -219,7 +219,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="timeline-date align-center" *ngIf="isSelectedDayHasEvent && hasEventToday">
|
<div class="timeline-date align-center" *ngIf="isSelectedDayHasEvent && hasEventToday">
|
||||||
<span >Hoje, </span> {{ timelineDate }}
|
<span >Hoje, </span> {{ todayDateFormat() }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="ss-timeline timeline-mobile flex-grow-1 pr-10 text-black height-100 width-100 overflow-y-auto" >
|
<div class="ss-timeline timeline-mobile flex-grow-1 pr-10 text-black height-100 width-100 overflow-y-auto" >
|
||||||
|
|||||||
@@ -62,6 +62,8 @@ export class AgendaPage implements OnInit {
|
|||||||
|
|
||||||
contacts: EventPerson[]
|
contacts: EventPerson[]
|
||||||
|
|
||||||
|
todayDateFormated: string;
|
||||||
|
|
||||||
setView(view: CalendarView) {
|
setView(view: CalendarView) {
|
||||||
this.view = view;
|
this.view = view;
|
||||||
}
|
}
|
||||||
@@ -1206,6 +1208,11 @@ export class AgendaPage implements OnInit {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
todayDateFormat() {
|
||||||
|
this.todayDateFormated = momentG(new Date(), 'dd MMMM');
|
||||||
|
return this.todayDateFormated;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function endOfMonth(myDate) {
|
function endOfMonth(myDate) {
|
||||||
|
|||||||
Reference in New Issue
Block a user