Skip to content

Commit 0e60788

Browse files
committed
fix: format datePublished
1 parent 38ea45c commit 0e60788

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ const main = async (baseInfo: LSPluginBaseInfo) => {
504504
type: 'string',
505505
title: 'Enter the template to use for new articles',
506506
description:
507-
'Enter the template to use for new articles. Required variables are: {{{title}}}, {{{omnivoreUrl}}}. Optional variables are: {{{siteName}}}, {{{originalUrl}}}, {{{author}}}, {{{labels}}}, {{dateSaved}}, {{datePublished}}',
507+
'Enter the template to use for new articles. Required variables are: {{{title}}}, {{{omnivoreUrl}}}. Optional variables are: {{{siteName}}}, {{{originalUrl}}}, {{{author}}}, {{{labels}}}, {{{dateSaved}}}, {{{datePublished}}}',
508508
default: `[{{{title}}}]({{{omnivoreUrl}}})
509509
collapsed:: true
510510
site:: {{#siteName}}[{{{siteName}}}]{{/siteName}}({{{originalUrl}}})
@@ -514,9 +514,9 @@ author:: {{{author}}}
514514
{{#labels.length}}
515515
labels:: {{#labels}}[[{{{name}}}]]{{/labels}}
516516
{{/labels.length}}
517-
date-saved:: {{dateSaved}}
517+
date-saved:: {{{dateSaved}}}
518518
{{#datePublished}}
519-
date-published:: {{datePublished}}
519+
date-published:: {{{datePublished}}}
520520
{{/datePublished}}`,
521521
inputAs: 'textarea',
522522
},
@@ -525,7 +525,7 @@ date-published:: {{datePublished}}
525525
type: 'string',
526526
title: 'Enter the template to use for new highlights',
527527
description:
528-
'Enter the template to use for new highlights. Required variables are: {{{text}}}, {{{highlightUrl}}}. Optional variables are {{dateHighlighted}}. You can also use the variables in the article template.',
528+
'Enter the template to use for new highlights. Required variables are: {{{text}}}, {{{highlightUrl}}}. Optional variables are {{{dateHighlighted}}}. You can also use the variables in the article template.',
529529
default: `> {{{text}}} [⤴️]({{{highlightUrl}}}) {{#labels}} #[[{{{name}}}]] {{/labels}}`,
530530
inputAs: 'textarea',
531531
},

0 commit comments

Comments
 (0)