From 14d73e212028f8921718daf14db4db10e835df2d Mon Sep 17 00:00:00 2001 From: Seth Shaw <108362375+seth-shaw-asu@users.noreply.github.com> Date: Wed, 20 Mar 2024 14:25:28 -0700 Subject: [PATCH 1/2] Fix relative datetime link --- src/Form/SettingsForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Form/SettingsForm.php b/src/Form/SettingsForm.php index 64cd4b6..996cb72 100644 --- a/src/Form/SettingsForm.php +++ b/src/Form/SettingsForm.php @@ -141,7 +141,7 @@ class SettingsForm extends ConfigFormBase { '#title' => $this->t('Time elapsed'), '#description' => $this->t('
Time threshold is relative to "now". For example "-1 month" would prevent any checks that occurred less than a month ago.
-Check Relative Formats for acceptable values
+Check Relative Formats for acceptable values
'), '#default_value' => $config->get(static::THRESHOLD) ?: '-1 month', '#element_validate' => [ From 2e66f63e9792077b51dcb46d319903cd9401aa10 Mon Sep 17 00:00:00 2001 From: Seth Shaw <108362375+seth-shaw-asu@users.noreply.github.com> Date: Wed, 20 Mar 2024 15:16:15 -0700 Subject: [PATCH 2/2] update another relative datetime url --- src/Form/SettingsForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Form/SettingsForm.php b/src/Form/SettingsForm.php index 996cb72..d25ced1 100644 --- a/src/Form/SettingsForm.php +++ b/src/Form/SettingsForm.php @@ -209,7 +209,7 @@ class SettingsForm extends ConfigFormBase { '#title' => $this->t('Time elapsed'), '#description' => $this->t('Time threshold is relative to "now". For example "-1 week" would mean a week must pass between notifications.
-Check Relative Formats for acceptable values
+Check Relative Formats for acceptable values
'), '#default_value' => $notification_threshold, '#element_validate' => [