kiwi/server/js/src/common/utils/Utils.js
/**
   * Format timestamps from millisecond epoch time.
   */
Format timestamps from millisecond epoch time.
Format timestamps from millisecond epoch time .
static formatTimestamp(timestamp, format = 'yyyy-mm-dd HH:MM:ss') {
    if (timestamp === undefined) {
      return '(unknown)';
    }
    const d = new Date(0);
    d.setUTCMilliseconds(timestamp);
    return dateFormat(d, format);
  }
static formatTimestamp ( timestamp , format = 'yyyy-mm-dd HH:MM:ss' ) { if ( timestamp === undefined ) { return '(unknown)' ; } const d = new Date ( 0 ) ; d . setUTCMilliseconds ( timestamp ) ; return dateFormat ( d , format ) ; }
Format timestamps from millisecond epoch time.
Format timestamps from millisecond epoch time .