We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bad1279 commit 5e8eac8Copy full SHA for 5e8eac8
2 files changed
docs/user/dashboard/url-drilldown.asciidoc
@@ -256,7 +256,7 @@ Note:
256
| *Range selection*
257
| event.from +
258
event.to
259
-| `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. +
260
Tip: Consider using <<helpers, date>> helper for date formatting.
261
262
|
src/plugins/vis_type_vislib/public/vislib/lib/handler.js
@@ -27,8 +27,8 @@ const markdownIt = new MarkdownIt({
27
linkify: true,
28
});
29
30
-const convertToTimestamp = (dateString) => {
31
- return parseInt(moment(dateString).format('x'));
+const convertToTimestamp = (date) => {
+ return parseInt(moment(date).format('x'));
32
};
33
34
/**
0 commit comments