I'm trying to understande the Tempus Dominus Bootstrap4 v5.1.2 code to make some changes and tests but I dont understand how the var _viewDate is set when the user pick the date.
When the user clicks on the day the function TempusDominusBootstrap4.prototype._doAction is executed with the 'selectDay' case (https://github.com/tempusdominus/bootstrap-4/blob/master/src/js/tempusdominus-bootstrap-4.js#L690).
At this point the selected date is already on this._viewDate, but how? where was it set?
Thank you.