erwan
Posts: 11
Joined: Fri Nov 27, 2020 7:26 am

Date range selector format doesn't work

Hi all,

I have a problem with the date fields...

I've put this parameters to use french system :

rangeSelector / inputDateFormat => %d/%m/%Y
rangeSelector / inputEditDateFormat => %d/%m/%Y

It works fine ; we see for example 22/12/2020 (dd/mm/yyyy).
But if we want to change date for filters, we must write 01/03/2021 (mm/dd/yyyy) for example for 3rd january.
If we write 03/01/2021 (dd/mm/yyyy), it doesn't work....

Is there another parameter?
Thank you.

Erwan
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Date range selector format doesn't work

Hi,

We appreciate you reaching out to us again!

It's hard to say without looking at the entire chart configuration.
I'm trying to recreate it, could you please recreate your example in a simple way?

https://jsfiddle.net/BlackLabel/r2xsgmf0/

API References:
https://api.highcharts.com/gantt/data.dateFormat
Valid options include: YYYY/mm/dd, dd/mm/YYYY, mm/dd/YYYY, dd/mm/YY, mm/dd/YY.
Maybe you need to change the format in another place, let's have look at this.

Please keep mi in the loop.
Best regards.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Gantt”