Skip to content

Commit 73dc12f

Browse files
authored
[Chore] Changed label to display time zone (alexjustesen#808)
1 parent e98a7cc commit 73dc12f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

app/Filament/Pages/Settings/GeneralPage.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ public function form(Form $form): Form
5252
->required()
5353
->columnSpan(['md' => 2]),
5454
Forms\Components\Select::make('timezone')
55-
->label('Time zone')
55+
->label('Display time zone')
56+
->helperText(new HtmlString('Display time zone only changes the offset in views and <span class="underline">does not</span> effect the scheduler.'))
5657
->options(Timezone::all()->pluck('code', 'code'))
5758
->searchable()
5859
->required(),
5960
Forms\Components\TextInput::make('time_format')
60-
->hint(new HtmlString('<a href="https://www.php.net/manual/en/datetime.format.php" target="_blank" rel="nofollow">DateTime Format</a>'))
61-
->hintIcon('heroicon-o-book-open')
61+
->hint(new HtmlString('&#x1f517;<a href="https://www.php.net/manual/en/datetime.format.php" target="_blank" rel="nofollow">DateTime Format</a>'))
6262
->placeholder('M j, Y G:i:s')
6363
->maxLength(25)
6464
->required(),
@@ -74,8 +74,7 @@ public function form(Form $form): Form
7474
Forms\Components\TextInput::make('speedtest_schedule')
7575
->rules([new Cron()])
7676
->helperText('Leave empty to disable scheduled tests.')
77-
->hint(new HtmlString('<a href="https://crontab.cronhub.io/" target="_blank" rel="nofollow">Cron Generator</a>'))
78-
->hintIcon('heroicon-o-book-open')
77+
->hint(new HtmlString('&#x1f517;<a href="https://crontab.cronhub.io/" target="_blank" rel="nofollow">Cron Generator</a>'))
7978
->nullable()
8079
->columnSpan(1),
8180
Forms\Components\Select::make('speedtest_server')

0 commit comments

Comments
 (0)