After adjusting my timezone to +14 using a chrome plugin, I noticed that the calendar app is displaying incorrect disabled dates.
You can view the issue here.
This is the formula I'm currently utilizing to disable dates:
disabledDate(time) {
return time.getTime() < Date.now() - 8.64e7;
},
The problem arises when the 22nd appears as a selectable option when it shouldn't be.
https://i.stack.imgur.com/j8krot.png
What could be causing this issue?
Edit:
The last recorded value of the time is:
Fri Mar 22 2019 13:00:00 GMT+1400 (Pacific Kiritimati Standard Time)
Upon further testing, it now shows as:
Sat Mar 23 2019 03:28:21 GMT+1400 (Pacific Kiritimati Standard Time)
However, this results in a false evaluation:
temp2.getTime() < Date.now() - 8.64e7; //false