Skip to content

Commit

Permalink
fix: update time range select tooltip (apache#10458)
Browse files Browse the repository at this point in the history
  • Loading branch information
riahk authored and auxten committed Nov 20, 2020
1 parent 39b1aa9 commit 9e58cef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ const DEFAULT_SINCE = moment()
const DEFAULT_UNTIL = moment().utc().startOf('day').format(MOMENT_FORMAT);
const SEPARATOR = ' : ';
const FREEFORM_TOOLTIP = t(
'Superset supports smart date parsing. Strings like `last sunday` or ' +
'`last october` can be used.',
'Superset supports smart date parsing. Strings like `3 weeks ago`, `last sunday`, or ' +
'`2 weeks from now` can be used.',
);

const DATE_FILTER_POPOVER_STYLE = { width: '250px' };
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4329,8 +4329,8 @@ msgstr ""

#: superset-frontend/src/explore/components/controls/DateFilterControl.jsx:85
msgid ""
"Superset supports smart date parsing. Strings like `last sunday` or `last"
" october` can be used."
"Superset supports smart date parsing. Strings like `3 weeks ago`, `last sunday`"
" or `2 weeks from now` can be used."
msgstr ""

#: superset-frontend/src/explore/components/controls/FilterBoxItemControl.jsx:142
Expand Down

0 comments on commit 9e58cef

Please sign in to comment.