Skip to content

Commit 5e8eac8

Browse files
committed
Update documentation
1 parent bad1279 commit 5e8eac8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/user/dashboard/url-drilldown.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ Note:
256256
| *Range selection*
257257
| event.from +
258258
event.to
259-
| `from` and `to` values of selected range. Depending on your data, could be either a date or number. +
259+
| `from` and `to` values of the selected range as numbers. +
260260
Tip: Consider using <<helpers, date>> helper for date formatting.
261261

262262
|

src/plugins/vis_type_vislib/public/vislib/lib/handler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ const markdownIt = new MarkdownIt({
2727
linkify: true,
2828
});
2929

30-
const convertToTimestamp = (dateString) => {
31-
return parseInt(moment(dateString).format('x'));
30+
const convertToTimestamp = (date) => {
31+
return parseInt(moment(date).format('x'));
3232
};
3333

3434
/**

0 commit comments

Comments
 (0)