Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

Date format not consistent in flexmonster when used with elasticsearch

Answered
amir asked on March 23, 2021

I have a flexmonster chart that uses uses flexmonster elasticsearch to fetch data from an elasticsearch server and I am facing some issues with date format
My elasticsearch server return date in UTC format and it is shown as UTC format on chart by default.
Now I parse all fields and set format to my date fields (using mapping object). The required format is MM/dd/yyyy.
When the chart loads it is showing the date in the format as specified in the mapping object (MM/dd/yyyy) but when I double click on a cell to open drill through view it is not showing date in required format as specified in the mapping model but the date is showing in default UTC format.
Now i have 2 questions regarding this
1: How can is ensure all date fields to be in the same format as specified in the mapping object for that particular field both in the main grid as well in drill-down view.
2: when can I expect the functionality that enables me to specify the date format globally for all the date fields in flexmonster grid with elasticsearch to be rolled out. As per the docs you don’t support that as of now for elasticseach grids. 
 

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster March 24, 2021

Hello,
 
Thank you for reaching out to us.
 
We did manage to reproduce the behavior with different date patterns on charts and in the drill-through.
Our team is going to research possible solutions and provide you with results ETA May 03.
Also, we agree that it would be useful to have the possibility to define the date pattern for all fields at a time. We will research the possible ways to implement this feature as well.
 
Feel free to contact us in case other questions arise.

Regards,
Illia

Please login or Register to Submit Answer