Flatpickr date display format

Hi guys,

Just checking - with the move to flatpickr for DatePicker, is there a mechanism to control the date format shown in the select field, or are we constrained to ISO yyyy-mm-dd for now? From a quick scan of the code/release-notes it appears fixed, just checking I haven’t missed something.

I’m talking about this format;


Thanks - as always.

There’s no way to do that right now, except for creating a whole custom Bokeh model.
Please feel free to create a feature request on GitHub.

Cool - thanks for the confirmation. Really appreciate the quick reply.

Flatpickr itself defintely has a dateFormat option: https://flatpickr.js.org/options/ It should be fairly simple to expose that form Bokeh, so an issue would be advised. However, just FYI I’d suggest that the core team hold back working on it immediately, because this sort of self-contained change is ideal to reserve as a Good First Issue

1 Like

Makes sense… I had a play internally with these things;

But although I could get it to change temporarily, I was rapidly going down a rabbit-hole… So staying with ISO format for now and will raise a distinctly non-urgent issue in github.


Created: https://github.com/bokeh/bokeh/issues/10619

1 Like