Skip to content

Commit

Permalink
fix bug with moment timestamp formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kbravh committed Sep 14, 2022
1 parent b0e87a3 commit c296742
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-tweet-to-markdown",
"name": "Tweet to Markdown",
"version": "2.11.1",
"version": "2.11.2",
"minAppVersion": "0.12.17",
"description": "Save tweets as Markdown files, along with their images, polls, etc.",
"author": "kbravh",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-tweet-to-markdown",
"version": "2.11.1",
"version": "2.11.2",
"description": "Save tweets as beautiful markdown files in Obsidian (https://obsidian.md)",
"main": "main.js",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ export const buildMarkdown = async (
*/
const frontmatter = []
if (plugin.settings.frontmatter) {
const fetchedAt = formatTimestamp(new Date().toString(), {
const fetchedAt = formatTimestamp(new Date().toISOString(), {
locale: plugin.settings.dateLocale,
format: plugin.settings.dateFormat,
})
Expand Down
2 changes: 1 addition & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"2.11.1": "0.12.17"
"2.11.2": "0.12.17"
}

0 comments on commit c296742

Please sign in to comment.