This commit is contained in:
Tiago Kayaya
2020-09-07 12:01:05 +01:00
parent 15aea46f76
commit 734a78d157
11 changed files with 73 additions and 8 deletions
+4 -3
View File
@@ -7,13 +7,14 @@ import { IonicModule } from '@ionic/angular';
import { AgendaPageRoutingModule } from './agenda-routing.module';
import { AgendaPage } from './agenda.page';
/* import { ComponentsModule } from "src/app/components/ComponentsModule"; */
import { NgCalendarModule } from 'ionic2-calendar';
import { CalModalPageModule } from '../cal-modal/cal-modal.module';
import { registerLocaleData } from '@angular/common';
import localeDe from '@angular/common/locales/pt';
import { CalendarComponent } from 'src/app/components/calendar/calendar.component';
registerLocaleData(localeDe);
@NgModule({
@@ -24,9 +25,9 @@ registerLocaleData(localeDe);
/* ComponentsModule, */
AgendaPageRoutingModule,
NgCalendarModule,
CalModalPageModule
CalModalPageModule,
],
declarations: [AgendaPage],
declarations: [AgendaPage, CalendarComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
providers: [
{ provide: LOCALE_ID, useValue: 'pt-PT'}
+2
View File
@@ -27,6 +27,7 @@
</ion-toolbar>
</ion-header>
<ion-content>
<app-cal-modal></app-cal-modal>
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
@@ -54,6 +55,7 @@
</ion-button>
</ion-col>
</ion-row>
<app-calendar></app-calendar>
<calendar
[eventSource]="eventSource"