mirror of
https://github.com/10h30/wordpress-export-to-markdown.git
synced 2026-07-17 21:53:49 +09:00
Fix date stuff in path building
This commit is contained in:
+1
-1
@@ -158,7 +158,7 @@ function normalize(value, type, onError) {
|
||||
export function buildSamplePostPath(config) {
|
||||
const outputDir = path.sep;
|
||||
const type = '';
|
||||
const date = luxon.DateTime.now().toFormat('yyyy-LL-dd');
|
||||
const date = luxon.DateTime.now();
|
||||
const slug = 'my-post';
|
||||
|
||||
return shared.buildPostPath(outputDir, type, date, slug, config);
|
||||
|
||||
Reference in New Issue
Block a user