static formatPushTime({ date, isLocalTime }: { date: Date, isLocalTime: boolean }) {
    if (isLocalTime) {
      // Strip 'Z'
      const isoString = date.toISOString();
      return isoString.substring(0, isoString.indexOf('Z'));
    }
    return date.toISOString();
  }
Converts a date to ISO format in UTC time and strips the timezone if `isLocalTime` is true
@param date {Date}
@param isLocalTime {boolean}
@returns {string}