DatatablesBundle icon indicating copy to clipboard operation
DatatablesBundle copied to clipboard

Locale aware for datefilter

Open nicodmf opened this issue 7 years ago • 7 comments

nicodmf avatar Jun 28 '17 13:06 nicodmf

@stwe ping :)

nicodmf avatar Aug 09 '17 14:08 nicodmf

ping @stwe

nicodmf avatar Sep 19 '17 08:09 nicodmf

@Seb33300 ping

nicodmf avatar Mar 05 '18 23:03 nicodmf

I think the filter should depend on the related column date format, not on the locale.

Seb33300 avatar Mar 06 '18 09:03 Seb33300

Yes you're right, but this locale choice doesn't break that, it's just take the date from the locale format used by client, or whatever the developper configure. If the client format in french, the developper can take the actual local and take the date in french, if the client format in english, it take the format in english.

Actually, the datefilter range cannot tale a french date by exemple.

nicodmf avatar Mar 19 '18 07:03 nicodmf

@Seb33300 ping we have many improvement in this essential bundle, can you see and work it ?

nicodmf avatar Jun 03 '18 09:06 nicodmf

@stephanvierkant thanks for reviewing, a fix made in january is just a non sense and we should surelly commit a better locale intégration

nicodmf avatar Jun 12 '19 09:06 nicodmf