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