Skip to content

Commit

Permalink
fix: more date-fns fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
klieber committed Jan 29, 2025
1 parent f95889b commit a6eba34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/date-extract.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

const dateExtractor = require('../lib/support/date-extractor');
const format = require('date-fns/format');
const { format } = require('date-fns');
const logger = require('../lib/support/logger').create('bin/date-extract');

(async () => {
Expand Down
2 changes: 1 addition & 1 deletion lib/support/file-utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { extractDate } = require('./date-extractor');
const format = require('date-fns/format');
const { format } = require('date-fns');
const fs = require('fs');
const DropboxContentHasher = require('../provider/dropbox/dropbox-content-hasher');
const logger = require('./logger').create('lib/support/file-utils');
Expand Down

0 comments on commit a6eba34

Please sign in to comment.