Fix heading wording, event listener promise void return, and manifest description

This commit is contained in:
Tommy Bergeron 2026-05-12 14:24:39 -04:00
parent 9be9d79abe
commit a76962c8e7
2 changed files with 7 additions and 7 deletions

12
main.ts
View file

@ -30,11 +30,11 @@ class HumanReadableDateWidget extends WidgetType {
const linkTarget = this.originalText.replace(/^\[\||\]\]$/g, '');
link.addEventListener('click', async (event) => {
event.preventDefault();
event.stopPropagation();
await this.app?.workspace.openLinkText(linkTarget, '', false);
});
link.addEventListener('click', (event) => {
event.preventDefault();
event.stopPropagation();
void this.app?.workspace.openLinkText(linkTarget, '', false);
});
return link;
} else {
@ -329,7 +329,7 @@ class HumanReadableDatesSettingTab extends PluginSettingTab {
containerEl.empty();
new Setting(containerEl)
.setName('Human Readable Dates Settings')
.setName('General')
.setHeading();
new Setting(containerEl)

View file

@ -3,7 +3,7 @@
"name": "Human Readable Dates",
"version": "1.0.3",
"minAppVersion": "0.16.0",
"description": "Human readable dates.",
"description": "Display dates in a human-readable format like 'Yesterday' or 'Tomorrow'.",
"author": "Tommy Bergeron",
"authorUrl": "https://github.com/tbergeron",
"fundingUrl": "https://www.paypal.com/donate/?hosted_button_id=93Z9BUUD778SG",