use ng-bootstrap date selector, with proper formatting/parsing according to the current locale #177

This commit is contained in:
jonaswinkler
2021-02-24 18:00:26 +01:00
parent 6b20177b09
commit 035b0a449b
12 changed files with 176 additions and 100 deletions

View File

@@ -0,0 +1,25 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { DateComponent } from './date.component';
describe('DateComponent', () => {
let component: DateComponent;
let fixture: ComponentFixture<DateComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ DateComponent ]
})
.compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(DateComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});