Browse Source

Fix relative datetime link

pull/17/head
Seth Shaw 10 months ago committed by GitHub
parent
commit
14d73e2120
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/Form/SettingsForm.php

2
src/Form/SettingsForm.php

@ -141,7 +141,7 @@ class SettingsForm extends ConfigFormBase {
'#title' => $this->t('Time elapsed'),
'#description' => $this->t('
<p>Time threshold is relative to "<em>now</em>". For example "<em>-1 month</em>" would prevent any checks that occurred less than a month ago.</p>
<p>Check <a href="https://www.php.net/manual/en/datetime.formats.relative.php">Relative Formats</a> for acceptable values</p>
<p>Check <a href="https://www.php.net/manual/en/datetime.formats.php#datetime.formats.relative">Relative Formats</a> for acceptable values</p>
'),
'#default_value' => $config->get(static::THRESHOLD) ?: '-1 month',
'#element_validate' => [

Loading…
Cancel
Save