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.
howdy!
this patch has 4 new filters:
start time after
start time before
end time after
end time before
not 100% tested but works for me
Argument can be a timestamp or any date string parseable by function strtotime()
Comment | File | Size | Author |
---|---|---|---|
#2 | event_views_new_args_notimezone.patch | 7.21 KB | dado |
event_views_new_args.patch | 7.54 KB | dado |
Comments
Comment #1
KarenS CreditAttribution: KarenS commentedI'd be glad to consider adding this in if we can get a review or two posted.
Comment #2
dado CreditAttribution: dado commentedi checked the exact times that were being selected and i found it was selecting events whose start times were 4 hours after the time i passed in the argument (I am in Eastern Daylight time, which is GMT - 4 hours). I had been doing this, since the other event_views args functions were doing similar
but i now believe this was wrong. So this patch removes the offending timezone code, and i find the argiments are working down to the minute.