Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I have a problem when i put a bef filter on my view on the changed core node field.
On the exposed form filter, when i've selected a date in the calender, i got an incorrect date format in the textfield (for exemple i got 05/jj/aa).
I don't know why there is only the month displayed in the textfield, at the begining, and after that just jj/aa
Thanks!
Comments
Comment #1
lima2x CreditAttribution: lima2x commentedHi,
I've got the same issue ?
Has someone solved it ?
Comment #2
xadag CreditAttribution: xadag commentedI founded the solution, when you choose a date as an exposed filter with BEF, don't choose the classic field date (created, updated).
Instead, choose the
Date : Date (node) field
And you will be able in the parameters of this field exposed, to choose wich date field it apply to and the format will be correct.
Hope it will help.
Comment #3
lima2x CreditAttribution: lima2x commentedThank you for your help.
I added exposed filters with BEF in admin/commerce/orders/list to make it easier to manage orders. So actualy I am using "created field date".
I can't see the field your talking about in the Filter criteria ?
Maybe I should add a relationship ?
Comment #4
mikeker CreditAttribution: mikeker commentedIssue queue cleanup... My apologies for taking so long to address this issue!
I've started a documentation page around date formats and exposed filters. Please add your insights/observations!
Thanks!
Comment #5
Nicolas Bouteille CreditAttribution: Nicolas Bouteille commentedThank you! It works like a charm.
Comment #6
mikeker CreditAttribution: mikeker commentedGreat! Thanks for letting me know!