Fix momentjs deprecation warning
Fix momentjs deprecation warning

Calling moment() constructor with a string that is not an ISO date
triggers a deprecation warning.
> Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to moment/moment#1407 for more info.
Fixed it by passing the format into the constructor.

tempusdominus/core