Is there any particular reason that the date filter uses strtotime($this->value['value'], 0)? As far as I can tell, that's all that's keeping the date filter from being able to accept relative values.

CommentFileSizeAuthor
#1 relative_dates-1888130-1.patch1.05 KBcoleman.sean.c
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

coleman.sean.c’s picture

Patch attached. Allows a value of 'now' to behave sensibly in a views date filter, haven't observed any ill side-effects.

Gerben Zaagsma’s picture

This patch works. Thanks a lot for this!

MiroslavBanov’s picture

Issue summary: View changes
Status: Active » Fixed

Already fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.