adjusted date format

This commit is contained in:
Oliver Yu 2023-07-16 05:31:07 +08:00
parent 5f5da5b2ef
commit cb05d8fe34
2 changed files with 2 additions and 25377 deletions

View file

@ -13,7 +13,7 @@ export class Flomo {
}
private loadMemos(memoNodes: Array<HTMLElement>): Record<string, string>[] {
const res: Record<string, string>[] = [];
const extrtactTitle = (item: string) => { return item.replace(/(-|:|\s)/gi, "_") }
const extractContent = (content: string) => {
@ -30,7 +30,7 @@ export class Flomo {
res.push({
"title": title,
"date": dateTime.split(" ")[0],
"content": "`Created at " + dateTime + "`\n" + content,
"content": "`Created at " + dateTime + "`\n\n" + content,
})
});

25375
main.js

File diff suppressed because one or more lines are too long