packages/ui-i18n/src/DateTime.js
function parse (dateString, locale, timezone) {
  _checkParams(locale, timezone)
  // list all available localized formats, from most specific to least
  return moment.tz(dateString, [moment.ISO_8601, 'llll', 'LLLL', 'lll', 'LLL', 'll', 'LL', 'l', 'L'], locale, timezone)
}
function parse (dateString, locale, timezone) {
  _checkParams(locale, timezone)
  // list all available localized formats, from most specific to least
  return moment.tz(dateString, [moment.ISO_8601, 'llll', 'LLLL', 'lll', 'LLL', 'll', 'LL', 'l', 'L'], locale, timezone)
}
function parse ( dateString , locale , timezone ) { _checkParams ( locale , timezone ) // list all available localized formats, from most specific to least return moment . tz ( dateString , [ moment . ISO_8601 , 'llll' , 'LLLL' , 'lll' , 'LLL' , 'll' , 'LL' , 'l' , 'L' ] , locale , timezone ) }
Parses a string into a localized ISO 8601 string with timezone
@param {String} dateString
@param {String} locale
@param {String} timezone
@returns {String} ISO 8601 string
Parses a string into a localized ISO 8601 string with timezone