mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
# Backport This will backport the following commits from `main` to `8.6`: - [fix timepicker default start day (#145947)](https://github.com/elastic/kibana/pull/145947) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Lee Drengenberg","email":"lee.drengenberg@elastic.co"},"sourceCommit":{"committedDate":"2022-11-28T14:59:09Z","message":"fix timepicker default start day (#145947)\n\n## Summary\r\n\r\nThis PR is mainly some cleanup before another PR I have in the works to\r\nshortcut timepicker.setAbsoluteTime() by checking if we already have the\r\ndesired time set.\r\n\r\nThis PR changes the timePicker defaultStartTimeUTC value from September\r\n18th to September 19th to match the value of defaultStartTimeUTC.\r\nThe variable name defaultStartTimeUTC implies it's a different timezone\r\nbut actually it's the same date time but in a different ISO format.\r\nIt seems there was only 1 place in tests which expected that Sep 18th\r\ndate.\r\n\r\nAnother small change in\r\n`x-pack/test/functional/apps/lens/group1/text_based_languages.ts` is to\r\nuse uiSettings.update insteda of uiSettings.replace. `replace` wipes out\r\nthe default UTC timezone and the defaultTime settings.\r\n\r\nI added a few calls to cleanStandardList to make sure any saved objects\r\ncreated by the tests are cleaned up, and to get a clean run if other\r\ntests left something.\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"9c9c66cd0b16f7514b407912d1b0bbcb0cab00ac","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:QA","test_ui_functional","release_note:skip","backport:prev-minor","v8.7.0"],"number":145947,"url":"https://github.com/elastic/kibana/pull/145947","mergeCommit":{"message":"fix timepicker default start day (#145947)\n\n## Summary\r\n\r\nThis PR is mainly some cleanup before another PR I have in the works to\r\nshortcut timepicker.setAbsoluteTime() by checking if we already have the\r\ndesired time set.\r\n\r\nThis PR changes the timePicker defaultStartTimeUTC value from September\r\n18th to September 19th to match the value of defaultStartTimeUTC.\r\nThe variable name defaultStartTimeUTC implies it's a different timezone\r\nbut actually it's the same date time but in a different ISO format.\r\nIt seems there was only 1 place in tests which expected that Sep 18th\r\ndate.\r\n\r\nAnother small change in\r\n`x-pack/test/functional/apps/lens/group1/text_based_languages.ts` is to\r\nuse uiSettings.update insteda of uiSettings.replace. `replace` wipes out\r\nthe default UTC timezone and the defaultTime settings.\r\n\r\nI added a few calls to cleanStandardList to make sure any saved objects\r\ncreated by the tests are cleaned up, and to get a clean run if other\r\ntests left something.\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"9c9c66cd0b16f7514b407912d1b0bbcb0cab00ac"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/145947","number":145947,"mergeCommit":{"message":"fix timepicker default start day (#145947)\n\n## Summary\r\n\r\nThis PR is mainly some cleanup before another PR I have in the works to\r\nshortcut timepicker.setAbsoluteTime() by checking if we already have the\r\ndesired time set.\r\n\r\nThis PR changes the timePicker defaultStartTimeUTC value from September\r\n18th to September 19th to match the value of defaultStartTimeUTC.\r\nThe variable name defaultStartTimeUTC implies it's a different timezone\r\nbut actually it's the same date time but in a different ISO format.\r\nIt seems there was only 1 place in tests which expected that Sep 18th\r\ndate.\r\n\r\nAnother small change in\r\n`x-pack/test/functional/apps/lens/group1/text_based_languages.ts` is to\r\nuse uiSettings.update insteda of uiSettings.replace. `replace` wipes out\r\nthe default UTC timezone and the defaultTime settings.\r\n\r\nI added a few calls to cleanStandardList to make sure any saved objects\r\ncreated by the tests are cleaned up, and to get a clean run if other\r\ntests left something.\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"9c9c66cd0b16f7514b407912d1b0bbcb0cab00ac"}}]}] BACKPORT--> Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co> |
||
---|---|---|
.. | ||
classic | ||
_context_accessibility.ts | ||
_context_navigation.ts | ||
_date_nanos.ts | ||
_date_nanos_custom_timestamp.ts | ||
_discover_navigation.ts | ||
_filters.ts | ||
_size.ts | ||
config.ts | ||
index.ts |