How to make date range picker format consistent for all language?

for some reason my date picker value changes when is switch language, i need the date value use my english language date format

here is my weweb date plugin format
Screen Shot 2023-12-07 at 9.30.27 AM

here is my english language date value

here is my chinese language date value
Screen Shot 2023-12-07 at 9.30.08 AM

yes, turns out we need to set the format on the element via custom javascript.

Unfortunately this is not the expected behavior i was looking for, @aurelie can weweb team fix the issue with date plugin format does not work for all languages ?


You could try setting it like this.

Hi. I understand why you’re confused. The date plugin only is about the formulas added by the plugin. The configuration only alter the default format for formulas that belong to the plugin.

For the datepicker, which is a standalone component available even without the date plugin, you have to set the format you want on the element itself. No javascript required.

1 Like

oh… okay !

okay i’ll try that