Skip to content

Commit

Permalink
debug failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo4815162342 committed Feb 27, 2024
1 parent 1831fd3 commit 230868e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/cli/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ import { processData } from '../processor';
import { formatBytes } from '../utils/formatBytes';
import chalk from 'chalk';
import debug from 'debug';
import dayjs from 'dayjs';
import utc from 'dayjs/plugin/utc';
// import dayjs from 'dayjs';
// import utc from 'dayjs/plugin/utc';

import { version } from '../../package.json';
import { BatchStreamWriter } from '../stream-writer';
import { BufferObject } from '../buffer-fetcher/types';
import { formatTimeDuration } from '../utils/formatTimeDuration';

dayjs.extend(utc);
// dayjs.extend(utc);

const DEBUG_NAMESPACE = 'dukascopy-node:cli';

Expand Down Expand Up @@ -193,8 +193,8 @@ export async function run(argv: NodeJS.Process['argv']) {
});

await batchStreamWriter.writeBatch(
processedBatch,
dateFormat ? timeStamp => dayjs(timeStamp).utc().format(dateFormat) : undefined
processedBatch
// dateFormat ? timeStamp => dayjs(timeStamp).utc().format(dateFormat) : undefined
);
}

Expand Down

0 comments on commit 230868e

Please sign in to comment.