Implement fix for datepicker
There were some silly errors in the code:
- Pass by reference instead of pass by value was used for the
checkDST()
method - Due to the previous mistake, the wrong check was executed.
-1
was used instead of+1
The combined behaviour of these two errors canceled out the erroneous behaviour in most cases except for #251 (closed).
Tested for the following browsers:
-
Mozilla Firefox v76.0.1 64-bits
-
Google Chrome v81.0.4044.138 64-bits
-
Microsoft Edge v44.18362.449.0
-
Safari v11.1.2
Edited by Pravesh Moelchand