From a4571bfa4f2e26114d4500aa5af62338b5b2eb36 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Thu, 9 Aug 2018 18:03:54 -0400 Subject: [PATCH] style(datetime): update misspellings --- core/src/components/datetime/datetime.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/src/components/datetime/datetime.tsx b/core/src/components/datetime/datetime.tsx index 785d4f32d3..669c379269 100644 --- a/core/src/components/datetime/datetime.tsx +++ b/core/src/components/datetime/datetime.tsx @@ -240,13 +240,14 @@ export class Datetime { return; } - const pickerOptions = this.generatePicketOptions(); + const pickerOptions = this.generatePickerOptions(); this.picker = await this.pickerCtrl.create(pickerOptions); + this.validate(); await this.picker!.present(); } - private generatePicketOptions(): PickerOptions { + private generatePickerOptions(): PickerOptions { const pickerOptions: PickerOptions = { ...this.pickerOptions, columns: this.generateColumns() @@ -284,7 +285,7 @@ export class Datetime { this.calcMinMax(); // does not support selecting by day name - // automaticallly remove any day name formats + // automatically remove any day name formats template = template.replace('DDDD', '{~}').replace('DDD', '{~}'); if (template.indexOf('D') === -1) { // there is not a day in the template