function dateTimeWithoutSecsOrZoneFormatter(params) {
    if (!params.data) { return null; }

    if (params.value === '' || params.value === null) { return ''; }
    if (typeof params.value === 'string') {
      return params.value.replace(/:\d\d \+\d\d\d\d$/, '').replace(/:\d\d\+\d+$/, '');
    }
    // 2021-07-22 20:49:44+00,
    // 2021-07-22 20:49:44 +0000,
    // 2021-07-22 20:49:44.81621+00,
    return Array.from(params.value).map(a => a.replace(/:\d\d \+\d\d\d\d$/, '')
      .replace(/:\d\d\+\d+$/, '')
      .replace(/:\d\d\.\d+\+\d+$/, ''))
      .join(', ');
  }
// Remove the seconds and time zone portion of a datetime column.
Remove the seconds and time zone portion of a datetime column.
Remove the seconds and time zone portion of a datetime column .
function dateTimeWithoutSecsOrZoneFormatter(params) {
    if (!params.data) { return null; }
    if (params.value === '' || params.value === null) { return ''; }
    if (typeof params.value === 'string') {
      return params.value.replace(/:\d\d \+\d\d\d\d$/, '').replace(/:\d\d\+\d+$/, '');
    }
    return Array.from(params.value).map(a => a.replace(/:\d\d \+\d\d\d\d$/, '')
      .replace(/:\d\d\+\d+$/, '')
      .replace(/:\d\d\.\d+\+\d+$/, ''))
      .join(', ');
  }
function dateTimeWithoutSecsOrZoneFormatter ( params ) { if ( ! params . data ) { return null ; } if ( params . value === '' || params . value === null ) { return '' ; } if ( typeof params . value === 'string' ) { return params . value . replace ( / :\d\d \+\d\d\d\d$ / , '' ) . replace ( / :\d\d\+\d+$ / , '' ) ; } return Array . from ( params . value ) . map ( a => a . replace ( / :\d\d \+\d\d\d\d$ / , '' ) . replace ( / :\d\d\+\d+$ / , '' ) . replace ( / :\d\d\.\d+\+\d+$ / , '' ) ) . join ( ', ' ) ; }
Remove the seconds and time zone portion of a datetime column.
Remove the seconds and time zone portion of a datetime column .
// 2021-07-22 20:49:44+00, // 2021-07-22 20:49:44 +0000, // 2021-07-22 20:49:44.81621+00,