mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit b20de118cd
)
Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
This commit is contained in:
parent
8f5b547da2
commit
3be42862a9
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ export class CommonPageObject extends FtrService {
|
|||
*/
|
||||
formatTime(time: TimeStrings, fmt: string = 'MMM D, YYYY @ HH:mm:ss.SSS') {
|
||||
return Object.keys(time)
|
||||
.map((x) => moment(time[x], [fmt]).format())
|
||||
.map((x) => moment.utc(time[x], [fmt]).format())
|
||||
.reduce(
|
||||
(acc, curr, idx) => {
|
||||
if (idx === 0) acc.from = curr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue