Complete overhaul for getDetails functionality.
Fixes in $time parsing which caused errors.
Added support for correct dates in getDetails.
Fixed closed mid-day logic.
Finished getDetails.