Skip to content

Commit

Permalink
improve default time ranges (#100536)
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed May 26, 2021
1 parent 638ab82 commit e7bc883
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/plugins/data/server/ui_settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -605,35 +605,35 @@ export function getUiSettings(): Record<string, UiSettingsParams<unknown>> {
}),
},
{
from: 'now-24h',
from: 'now-24h/h',
to: 'now',
display: i18n.translate('data.advancedSettings.timepicker.last24Hours', {
defaultMessage: 'Last 24 hours',
}),
},
{
from: 'now-7d',
from: 'now-7d/d',
to: 'now',
display: i18n.translate('data.advancedSettings.timepicker.last7Days', {
defaultMessage: 'Last 7 days',
}),
},
{
from: 'now-30d',
from: 'now-30d/d',
to: 'now',
display: i18n.translate('data.advancedSettings.timepicker.last30Days', {
defaultMessage: 'Last 30 days',
}),
},
{
from: 'now-90d',
from: 'now-90d/d',
to: 'now',
display: i18n.translate('data.advancedSettings.timepicker.last90Days', {
defaultMessage: 'Last 90 days',
}),
},
{
from: 'now-1y',
from: 'now-1y/d',
to: 'now',
display: i18n.translate('data.advancedSettings.timepicker.last1Year', {
defaultMessage: 'Last 1 year',
Expand Down

0 comments on commit e7bc883

Please sign in to comment.