docs: function formatDatetime(date) {
    date = new Date(date);
    var hour = date.getHours();
    var minutes =
      date.getMinutes() < 10
        ? '0' + date.getMinutes().toString()
        : date.getMinutes();
  
    return formatDate(date) + ' ' + hour + ':' + minutes;
  }