TNL-772: Fix course time settings.

[TNL-772](https://openedx.atlassian.net/browse/TNL-772)
@jmclaus , @olmar please review.
> Is date still a needed dependency? I do not see any use of it in code below (or function that may require it).

Yes, this library extends default Date object.