mirror of
https://github.com/10h30/wordpress-export-to-markdown.git
synced 2026-07-19 06:33:56 +09:00
Rename index to app, update deps, tweak config
This commit is contained in:
+3
-3
@@ -59,7 +59,7 @@ async function writeMarkdownFilesPromise(posts) {
|
||||
destinationPath,
|
||||
delay
|
||||
};
|
||||
delay += shared.config.markdownFileWriteDelay;
|
||||
delay += shared.config.writeDelay;
|
||||
return [payload];
|
||||
}
|
||||
});
|
||||
@@ -90,7 +90,7 @@ async function loadMarkdownFilePromise(post) {
|
||||
if (shared.config.dateFormat) {
|
||||
outputValue = value.toFormat(shared.config.dateFormat);
|
||||
} else {
|
||||
outputValue = shared.config.includeTimeWithDate ? value.toISO() : value.toISODate();
|
||||
outputValue = shared.config.includeTime ? value.toISO() : value.toISODate();
|
||||
}
|
||||
|
||||
if (shared.config.quoteDate) {
|
||||
@@ -138,7 +138,7 @@ async function writeImageFilesPromise(posts) {
|
||||
destinationPath,
|
||||
delay
|
||||
};
|
||||
delay += shared.config.imageFileRequestDelay;
|
||||
delay += shared.config.requestDelay;
|
||||
return [payload];
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user