Skip to content

Set date month by new Date() object is not equal to the month displayed in the datepicker #33

@ghost

Description

I am setting selected date into datepicker by:

public selectedDate: Date = new Date(2014,2,23);

and then using this variable in html datepicker

<DatePickerField [(ngModel)]="selectedDate" locale="pl_PL" class="input">

The result date is not 2014.02.23 but 2014.03.23 -> the datepicker set allways one moth plus.

I am using nativescript angular template and I have installed the 1.2.1 version of datepicker plugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions