Skip to content

Commit

Permalink
fix: timestamp added instead of human readable datetime (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
akosbalasko authored Sep 14, 2022
1 parent 820ef08 commit 434500a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/process-resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const processResource = (workDir: string, resource: any): any => {
let fileName = resourceFileProps.fileName;

// add time to ease the same name issue
if (yarleOptions.outputFormat === OutputFormat.LogSeqMD) { fileName = `${accessTime}_${fileName}` ; }
if (yarleOptions.outputFormat === OutputFormat.LogSeqMD) { fileName = `${accessTime.toDate().getTime()}_${fileName}` ; }

const absFilePath = `${workDir}${path.sep}${fileName}`;

Expand Down

0 comments on commit 434500a

Please sign in to comment.