-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Parser to work again and moved it to module instead of component
-The order of the class and use class were incorrect in the provider
- Loading branch information
Showing
4 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,3 +37,5 @@ testem.log | |
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
\.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@uiowa/date-range-picker", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"author": "Changhui Xu <[email protected]>", | ||
"contributors": [ | ||
"Jacob Feuerbach <[email protected]>" | ||
|
8 changes: 2 additions & 6 deletions
8
projects/uiowa/date-range-picker/src/lib/date-picker/date-picker.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 6 additions & 2 deletions
8
projects/uiowa/date-range-picker/src/lib/date-range-picker.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { FormsModule } from '@angular/forms'; | ||
import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; | ||
import { NgbModule, NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap'; | ||
import { DateRangePickerComponent } from './date-range-picker/date-range-picker.component'; | ||
import { DatePickerComponent } from './date-picker/date-picker.component'; | ||
import { NgbDateNativeAdapter } from './services/NgbDateNativeAdapter'; | ||
import { NgbDateNativeParserFormatter } from './services/ngb-date-native-parser-formatter'; | ||
|
||
@NgModule({ | ||
imports: [CommonModule, FormsModule, NgbModule], | ||
declarations: [DateRangePickerComponent, DatePickerComponent], | ||
providers: [NgbDateNativeAdapter], | ||
providers: [ | ||
NgbDateNativeAdapter, | ||
{ provide: NgbDateParserFormatter, useClass: NgbDateNativeParserFormatter } | ||
], | ||
exports: [DateRangePickerComponent, DatePickerComponent] | ||
}) | ||
export class DateRangePickerModule {} |