chatgpt-to-markdown 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/index.js
CHANGED
@@ -108,6 +108,7 @@ async function chatgptToMarkdown(json, sourceDir, { dateFormat } = { dateFormat:
|
|
108
108
|
.join("");
|
109
109
|
const markdownContent = `${title}\n${metadata}\n${messages}`;
|
110
110
|
await fs.writeFile(filePath, markdownContent, "utf8");
|
111
|
+
await fs.utimes(filePath, conversation.update_time, conversation.create_time);
|
111
112
|
}
|
112
113
|
}
|
113
114
|
|