mirror of
https://github.com/jia6y/flomo-to-obsidian.git
synced 2026-07-22 07:40:28 +00:00
adjusted date format
This commit is contained in:
parent
5f5da5b2ef
commit
cb05d8fe34
2 changed files with 2 additions and 25377 deletions
|
|
@ -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
25375
main.js
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue