From e130c5c27c9a3f02d4bbf2579e59523496a6d44f Mon Sep 17 00:00:00 2001 From: Thomas <4159106+dtslvr@users.noreply.github.com> Date: Mon, 4 Mar 2019 23:06:14 +0100 Subject: [PATCH] Fix typo in datepicker example (#15327) --- .../datepicker-views-selection-example.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/material-examples/datepicker-views-selection/datepicker-views-selection-example.ts b/src/material-examples/datepicker-views-selection/datepicker-views-selection-example.ts index d37580087ec..cf4c158ddcf 100644 --- a/src/material-examples/datepicker-views-selection/datepicker-views-selection-example.ts +++ b/src/material-examples/datepicker-views-selection/datepicker-views-selection-example.ts @@ -51,9 +51,9 @@ export class DatepickerViewsSelectionExample { this.date.setValue(ctrlValue); } - chosenMonthHandler(normlizedMonth: Moment, datepicker: MatDatepicker) { + chosenMonthHandler(normalizedMonth: Moment, datepicker: MatDatepicker) { const ctrlValue = this.date.value; - ctrlValue.month(normlizedMonth.month()); + ctrlValue.month(normalizedMonth.month()); this.date.setValue(ctrlValue); datepicker.close(); }