Skip to content

Commit

Permalink
Make sure to is 'now' and not the same as from
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Griffith committed Oct 22, 2020
1 parent 67f46ae commit 48e8d08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/data/server/ui_settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,14 +552,14 @@ export function getUiSettings(): Record<string, UiSettingsParams<unknown>> {
[
{
from: 'now/d',
to: 'now/d',
to: 'now',
display: i18n.translate('data.advancedSettings.timepicker.today', {
defaultMessage: 'Today',
}),
},
{
from: 'now/w',
to: 'now/w',
to: 'now',
display: i18n.translate('data.advancedSettings.timepicker.thisWeek', {
defaultMessage: 'This week',
}),
Expand Down

0 comments on commit 48e8d08

Please sign in to comment.