cordova-plugin-datepicker icon indicating copy to clipboard operation
cordova-plugin-datepicker copied to clipboard

Windows platform minDate 1970

Open napcat opened this issue 9 years ago • 1 comments

On the windows platform the minDate is always 1970 even if I specify other date.

I searched in the source, and it sets the minDate to 1970.

Could it default to an older date like 1900?

napcat avatar Oct 12 '16 15:10 napcat

Well, is fact computation init date from 1970-01-01, all sistems based Unix using POSIX representation to date and time are limited by this date until 2038-01-19, is limit to this sistems. You remember 'Bug of millenium'?

Maybe this plugin be limited by SO too.

References: https://en.wikipedia.org/wiki/Year_2038_problem https://en.wikipedia.org/wiki/Year_2000_problem

John-Henrique avatar Feb 05 '17 23:02 John-Henrique