-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time picker shows [object Object]
in absolute tab
#182099
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Unified search
Unified search related tasks
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Comments
[object: Object]
in absolute tab[object Object]
in absolute tab
4 tasks
Pinging @elastic/kibana-visualizations (Team:Visualizations) |
sakurai-youhei
added a commit
that referenced
this issue
May 9, 2024
## Summary This PR fixes one i18n mapping for EUI to render the `dateFormat` = `MMM D, YYYY @ HH:mm:ss.SSS` correctly at the bottom. Note: It showed `[object Object]` instead of `MMM D, YYYY @ HH:mm:ss.SSS` before this fix. Fixes #182099 ## Release note Fixes time picker to show allowed formats properly in absolute tabs. --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this issue
May 9, 2024
## Summary This PR fixes one i18n mapping for EUI to render the `dateFormat` = `MMM D, YYYY @ HH:mm:ss.SSS` correctly at the bottom. Note: It showed `[object Object]` instead of `MMM D, YYYY @ HH:mm:ss.SSS` before this fix. Fixes elastic#182099 ## Release note Fixes time picker to show allowed formats properly in absolute tabs. --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 50d6748)
kibanamachine
referenced
this issue
May 9, 2024
…) (#183022) # Backport This will backport the following commits from `main` to `8.14`: - [Fix time picker not to show `[object Object]` (#182152)](#182152) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Youhei Sakurai","email":"youhei.sakurai@elastic.co"},"sourceCommit":{"committedDate":"2024-05-09T10:08:07Z","message":"Fix time picker not to show `[object Object]` (#182152)\n\n## Summary\r\n\r\nThis PR fixes one i18n mapping for EUI to render the `dateFormat` = `MMM\r\nD, YYYY @ HH:mm:ss.SSS` correctly at the bottom.\r\n\r\nNote: It showed `[object Object]` instead of `MMM D, YYYY @\r\nHH:mm:ss.SSS` before this fix.\r\n\r\nFixes https://github.com/elastic/kibana/issues/182099\r\n\r\n## Release note\r\n\r\nFixes time picker to show allowed formats properly in absolute tabs.\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"50d674867bdf1af37f6b61a89151e52c5da2bdbd","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","backport:prev-minor","v8.15.0"],"title":"Fix time picker not to show `[object Object]`","number":182152,"url":"https://github.com/elastic/kibana/pull/182152","mergeCommit":{"message":"Fix time picker not to show `[object Object]` (#182152)\n\n## Summary\r\n\r\nThis PR fixes one i18n mapping for EUI to render the `dateFormat` = `MMM\r\nD, YYYY @ HH:mm:ss.SSS` correctly at the bottom.\r\n\r\nNote: It showed `[object Object]` instead of `MMM D, YYYY @\r\nHH:mm:ss.SSS` before this fix.\r\n\r\nFixes https://github.com/elastic/kibana/issues/182099\r\n\r\n## Release note\r\n\r\nFixes time picker to show allowed formats properly in absolute tabs.\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"50d674867bdf1af37f6b61a89151e52c5da2bdbd"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/182152","number":182152,"mergeCommit":{"message":"Fix time picker not to show `[object Object]` (#182152)\n\n## Summary\r\n\r\nThis PR fixes one i18n mapping for EUI to render the `dateFormat` = `MMM\r\nD, YYYY @ HH:mm:ss.SSS` correctly at the bottom.\r\n\r\nNote: It showed `[object Object]` instead of `MMM D, YYYY @\r\nHH:mm:ss.SSS` before this fix.\r\n\r\nFixes https://github.com/elastic/kibana/issues/182099\r\n\r\n## Release note\r\n\r\nFixes time picker to show allowed formats properly in absolute tabs.\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"50d674867bdf1af37f6b61a89151e52c5da2bdbd"}}]}] BACKPORT--> Co-authored-by: Youhei Sakurai <youhei.sakurai@elastic.co>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Unified search
Unified search related tasks
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version: 8.15.0 (main branch)
Elasticsearch version: 8.15.0-SNAPSHOT
Server OS version: Ubuntu 22.04.3 LTS
Browser version: Chrome Version 124.0.6367.92 (Official Build) (64-bit)
Browser OS version: Windows 11 10.0.22621 N/A Build 22621
Original install method (e.g. download page, yum, from source, etc.):
yarn start
Describe the bug:

[object Object]
is shown at the bottom of the absolute tab in the time picker.Steps to reproduce:
Expected behavior:

The date format should be shown.
Any additional context:
The
EuiSuperDatePicker
passes not a string but an object todateFormat
now.I will open a PR to fix this issue shortly.
The text was updated successfully, but these errors were encountered: