mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
Add date picker
This commit is contained in:
@@ -26,6 +26,7 @@ import { NewEventPage } from './new-event/new-event.page';
|
||||
import { AuthService } from 'src/app/services/auth.service';
|
||||
import { User } from 'src/app/models/user.model';
|
||||
import { letProto } from 'rxjs-compat/operator/let';
|
||||
import { DateAdapter } from '@angular/material/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-agenda',
|
||||
@@ -158,7 +159,12 @@ export class AgendaPage implements OnInit {
|
||||
private router: Router,
|
||||
private alertController: AlertService,
|
||||
private sanitizer: DomSanitizer,
|
||||
authService: AuthService) {
|
||||
authService: AuthService,
|
||||
private dateAdapter: DateAdapter<any>
|
||||
) {
|
||||
this.dateAdapter.setLocale('es');
|
||||
|
||||
this.locale = 'pt'
|
||||
|
||||
this.loggeduser = authService.ValidatedUser;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user