We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Date datatype behaving differently in Chrome and IE

Resolved
Joe Hauck asked on June 12, 2018

Hello, 
So I have some JSON date like this : 
{
"WEEK" : "01-01-2018",
"X" : <SOME VALUE>,
"Y" : <SOME VALUE>
}
 
My slice
"rows": [
{
"uniqueName":"[Measures]"
}
],
"columns": [
{
"uniqueName":"WEEK"
}
],
"measures: : [
{
 <<<measured values>>>>
}]
 
 
Note that the "WEEK" field is of String type and not DATE type.
Everything works as expected on Chrome and firefox.
 
But the date column is being displayed hierarchically (WEEK.DAY, WEEK.MONTH, WEEK.YEAR) on Internet Explorer. I don't understand this different behavior on IE. I want to display the column like a string - like it does on Chrome.
Could you guys help me solve this issue? Thank you.
 
 
 

1 answer

Public
Tanya Gryshko Tanya Gryshko Flexmonster June 13, 2018

Hello, Joe,
Thank you for writing to us!
We suggest defining string type for "WEEK" field explicitly. The information on how this can be done is available by the following link: https://www.flexmonster.com/doc/managing-data-presentation-json.
Does it work for you?
Regards,
Tanya

Please login or Register to Submit Answer