Answer the question
In order to leave comments, you need to log in
How to filter nodes in Drupal Views only for the current month and day?
I can’t understand, I have a base of significant days in history, which needs to be displayed only for the current day (the Date module is also installed)
I.e. I need to make a filter in the view by month with the parameter Enter relative date - NOW , and by day in the same way.
However, when creating such filters, drupal builds the query as if from top to bottom, i.e. if you specified granularity by day, then the query will be
%Y-%m-%d
, it turns out that the year is also involved, and it is 1960 , and now 2014 , and everything is empty in the results
, how then can only %m-%d be done
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question