From feba0c50dc2bd33b8a8fe87ff13a6df59c6bb9ef Mon Sep 17 00:00:00 2001 From: Peter Kaufman Date: Sun, 7 Jul 2024 21:14:05 -0400 Subject: [PATCH] release prep 1.25.0 --- docs/docs/settings/content-rules.md | 2 +- docs/docs/settings/yaml-rules.md | 72 ++++++++++++++++++++++++++++- manifest-beta.json | 2 +- manifest.json | 2 +- package.json | 2 +- versions.json | 3 +- 6 files changed, 77 insertions(+), 6 deletions(-) diff --git a/docs/docs/settings/content-rules.md b/docs/docs/settings/content-rules.md index ca5496d4..b5519629 100644 --- a/docs/docs/settings/content-rules.md +++ b/docs/docs/settings/content-rules.md @@ -8,7 +8,7 @@ Alias: `auto-correct-common-misspellings` -Uses a dictionary of common misspellings to automatically convert them to their proper spellings. See [auto-correct map](https://github.com/platers/obsidian-linter/tree/master/src/utils/auto-correct-misspellings.ts) for the full list of auto-corrected words. +Uses a dictionary of common misspellings to automatically convert them to their proper spellings. See [auto-correct map](https://github.com/platers/obsidian-linter/tree/master/src/utils/auto-correct-misspellings.ts) for the full list of auto-corrected words. **Note: this list can work on text from multiple languages, but this list is the same no matter what language is currently in use.** ### Options diff --git a/docs/docs/settings/yaml-rules.md b/docs/docs/settings/yaml-rules.md index 3957ce8f..5528d545 100644 --- a/docs/docs/settings/yaml-rules.md +++ b/docs/docs/settings/yaml-rules.md @@ -1083,6 +1083,7 @@ Keep track of the date the file was last edited in the YAML front matter. Gets d | `Date Modified` | Insert the date the file was last modified | N/A | `true` | | `Date Modified Key` | Which YAML key to use for modification date | N/A | `date modified` | | `Format` | Moment date format to use (see [Moment format options](https://momentjscom.readthedocs.io/en/latest/moment/04-displaying/01-format/)) | N/A | `dddd, MMMM Do YYYY, h:mm:ss a` | +| `Convert Local Time to UTC` | Uses UTC equivalent for saved dates instead of local time | N/A | false | ### Additional Info @@ -1170,6 +1171,75 @@ modified: Wednesday, January 1st 2020, 4:00:00 pm # H1 `````` +
Header is set with convert to UTC option true + +Before: + +`````` markdown +# H1 +`````` + +After: + +`````` markdown +--- +date created: 2020-01-01T14:00:00+00:00 +date modified: 2020-01-02T02:00:05+00:00 +--- +# H1 +`````` +
+
dateCreated option is false with convert to UTC option true + +Before: + +`````` markdown +# H1 +`````` + +After: + +`````` markdown +--- +date modified: 2020-01-02T02:00:05+00:00 +--- +# H1 +`````` +
+
Date Created Key is set with convert to UTC option true + +Before: + +`````` markdown +# H1 +`````` + +After: + +`````` markdown +--- +created: 2020-01-01T14:00:00+00:00 +--- +# H1 +`````` +
+
Date Modified Key is set with convert to UTC option true + +Before: + +`````` markdown +# H1 +`````` + +After: + +`````` markdown +--- +modified: 2020-01-02T02:00:05+00:00 +--- +# H1 +`````` +
## YAML Title @@ -1278,7 +1348,7 @@ title: Filename Alias: `yaml-title-alias` -Inserts the title of the file into the YAML frontmatter's aliases section. Gets the title from the first H1 or filename. +Inserts or updates the title of the file into the YAML frontmatter's aliases section. Gets the title from the first H1 or filename. ### Options diff --git a/manifest-beta.json b/manifest-beta.json index 739d9c07..1170ec40 100644 --- a/manifest-beta.json +++ b/manifest-beta.json @@ -1,7 +1,7 @@ { "id": "obsidian-linter", "name": "Linter", - "version": "1.25.0-rc-1", + "version": "1.25.0", "minAppVersion": "1.4.16", "description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.", "author": "Victor Tao", diff --git a/manifest.json b/manifest.json index 7f979211..1170ec40 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-linter", "name": "Linter", - "version": "1.24.0", + "version": "1.25.0", "minAppVersion": "1.4.16", "description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.", "author": "Victor Tao", diff --git a/package.json b/package.json index bf7ba51b..e04c0dea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-linter", - "version": "1.25.0-rc-1", + "version": "1.25.0", "description": "Enforces consistent markdown styling for Obsidian (https://obsidian.md). It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index 2f6439e7..9b33d9ff 100644 --- a/versions.json +++ b/versions.json @@ -62,5 +62,6 @@ "1.23.0": "1.4.16", "1.23.1": "1.4.16", "1.23.2": "1.4.16", - "1.24.0": "1.4.16" + "1.24.0": "1.4.16", + "1.25.0": "1.4.16" }