My team and I are using this library to mainly do review of logs. We have had a lot of success using your other components contained in this library. It's been great! However, there is one issue that I need help with. This application that we are using uses the EuiSuperDatePicker to filter and search through logs. The user is expected to perform the search in UTC as we get logs from all different timezones and the underlying logs are all standardized to UTC. While using this component we observe that when we select a datetime, May 5, 2020 @ 00:00:00.000 the EuiSuperDatePicker is converting that datetime to UTC (May 5, 2020 @ 05:00:00.000 suppose I live in CDT). What that means for us in our use case is that we must convert that back to May 5, 2020 @ 00:00:00.000.
While looking through this code base I noticed that EuiDatePicker has a utcOffset prop
Is there a way that we can pass something similar to EuiSuperDatePicker so that we don't have to do these conversions?
-Thanks
My team and I are using this library to mainly do review of logs. We have had a lot of success using your other components contained in this library. It's been great! However, there is one issue that I need help with. This application that we are using uses the
EuiSuperDatePickerto filter and search through logs. The user is expected to perform the search in UTC as we get logs from all different timezones and the underlying logs are all standardized to UTC. While using this component we observe that when we select a datetime,May 5, 2020 @ 00:00:00.000theEuiSuperDatePickeris converting that datetime to UTC (May 5, 2020 @ 05:00:00.000suppose I live in CDT). What that means for us in our use case is that we must convert that back toMay 5, 2020 @ 00:00:00.000.While looking through this code base I noticed that
EuiDatePickerhas autcOffsetpropeui/src/components/date_picker/date_picker.tsx
Line 161 in 6e6b556
Is there a way that we can pass something similar to
EuiSuperDatePickerso that we don't have to do these conversions?-Thanks