Skip to content

Commit 842eec0

Browse files
committed
Export date in ISO format
1 parent ac80c36 commit 842eec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const exportPosts = (posts, rootPath) => {
2323
}
2424
})
2525

26-
const fileContents = templates.post(post.title, post.date, post.passthroughUrl, post.markdownContent)
26+
const fileContents = templates.post(post.title, post.date.toISOString(), post.passthroughUrl, post.markdownContent)
2727
await fs.outputFile(`${postPath}/index.md`, fileContents)
2828
})
2929
}

0 commit comments

Comments
 (0)