We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28b6eba commit d0b3e0cCopy full SHA for d0b3e0c
tns-core-modules/ui/date-picker/date-picker.android.ts
@@ -102,7 +102,7 @@ export class DatePicker extends DatePickerBase {
102
103
[dateProperty.setNative](value: Date) {
104
const nativeView = this.nativeViewProtected;
105
- if (nativeView.getDayOfMonth() !== value.getDay()
+ if (nativeView.getDayOfMonth() !== value.getDate()
106
|| nativeView.getMonth() !== value.getMonth()
107
|| nativeView.getYear() !== value.getFullYear()) {
108
nativeView.updateDate(value.getFullYear(), value.getMonth(), value.getDate());
0 commit comments