How to use the terra-date-picker/lib/DateUtil.convertToISO8601 function in terra-date-picker

To help you get started, we’ve selected a few terra-date-picker examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cerner / terra-framework / packages / terra-date-time-picker / src / DateTimeUtils.js View on Github external
static convertDateTimeStringToMomentObject(date, time, dateformat, hasSeconds) {
    return DateTimeUtils.updateTime(DateUtil.createSafeDate(DateUtil.convertToISO8601(date, dateformat)), time, hasSeconds);
  }
}