code: function getMoment(modelValue) {
        return moment(modelValue, angular.isString(modelValue) ? configuration.parseFormat : undefined)
      }
docs: Converts a time value into a moment.
  
  This function is now necessary because moment logs a warning when parsing a string without a format.
  @param modelValue
  a time value in any of the supported formats (Date, moment, milliseconds, and string)
  @returns {moment}
  representing the specified time value.