mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
37 lines
1.0 KiB
TypeScript
37 lines
1.0 KiB
TypeScript
import { NgModule, LOCALE_ID, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
import { IonicModule } from '@ionic/angular';
|
|
|
|
import { AgendaPageRoutingModule } from './agenda-routing.module';
|
|
|
|
import { AgendaPage } from './agenda.page';
|
|
|
|
|
|
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({
|
|
imports: [
|
|
CommonModule,
|
|
FormsModule,
|
|
IonicModule,
|
|
/* ComponentsModule, */
|
|
AgendaPageRoutingModule,
|
|
NgCalendarModule,
|
|
CalModalPageModule,
|
|
],
|
|
declarations: [AgendaPage, CalendarComponent],
|
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
providers: [
|
|
{ provide: LOCALE_ID, useValue: 'pt-PT'}
|
|
]
|
|
})
|
|
export class AgendaPageModule {}
|