code: function formatTime(lang, input) {
  	var result = input;
  	var matches;
  	var localeTimeString;
  
  	while ((matches = TIME_REGEX.exec(input)) != null) {
  
  		var date = new Date(Date.parse(matches[1]));
  		localeTimeString = date.toLocaleTimeString(lang,
  			{
  				hour: 'numeric',
  				minute: '2-digit'
  			});
  
  		result = result.replace(matches[0], localeTimeString);
  	};
  	return result;
  }
docs: This function is used to format the TIME.
  @example "Scheduled at {{TIME(2017-02-14T06:08:39Z)}}" formatted as "Scheduled at 11:38 AM"
  
  @param {string} lang
  @param {string} input
  @return {string} Text with `TIME` part formatted