Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed Feb 17, 2021
1 parent bad1279 commit 5e8eac8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/user/dashboard/url-drilldown.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ Note:
| *Range selection*
| event.from +
event.to
| `from` and `to` values of selected range. Depending on your data, could be either a date or number. +
| `from` and `to` values of the selected range as numbers. +
Tip: Consider using <<helpers, date>> helper for date formatting.

|
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/vis_type_vislib/public/vislib/lib/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ const markdownIt = new MarkdownIt({
linkify: true,
});

const convertToTimestamp = (dateString) => {
return parseInt(moment(dateString).format('x'));
const convertToTimestamp = (date) => {
return parseInt(moment(date).format('x'));
};

/**
Expand Down

0 comments on commit 5e8eac8

Please sign in to comment.