code: function replaceHyphensAndConvertTime(v) {
    var time = "";
    if (!defined(v.indexOf)) {
      // could be a number, eg. times may be simple numbers like 730.
      return v;
    }
    var tIndex = v.indexOf("T");
    if (tIndex >= 0) {
      var times = v.substr(tIndex + 1).split(":");
      if (times && times.length > 1) {
        time = " " + times[0] + ":" + times[1];
      }
      if (times.length > 2) {
        time = time + ":" + parseInt(times[2], 10);
      }
      v = v.substr(0, tIndex);
    }
    var part = v.split(/-/);
    if (part.length === 3) {
      v = part[0] + "/" + part[1] + "/" + part[2];
    }
    return v + time;
  }
docs: Replace hypens with slashes in a three-part date, eg. '4-6-2015' => '4/6/2015' or '2015-12-5' => '2015/12/5'. This helps because '2015-12-5' will display differently in different browsers, whereas '2015/12/5' will not. Also, convert timestamp info, dropping milliseconds, timezone and replacing 'T' with a space. Eg.: 'yyyy-mm-ddThh:mm:ss.qqqqZ' => 'yyyy/mm/dd hh:mm:ss'.