I can't set the Configure filter criterion: to 'now' or any other relative term. I always get the error that the value is invalid if I try to save.

Used module versions:
- Views 7.x-3.0-beta3
- date 7.x-2.x-dev (2011-Mar-28)

Comments

clausbo’s picture

Same as marcusx using:

views 7.x-3.0-beta3
date 7.x-2.0-alpha1

marcusx’s picture

Status: Active » Closed (works as designed)

The problem was sitting in front of the keyboard. After checking how this was working in D6 I figured out that the relative values have to go into the default value fields. Like this was always. The explanation text says it exactly but I didn't get it. Sorry.

Relative values will be used if no date is set above. Use 'now' to default to the current date at runtime or add modifiers like 'now +1 day' . The To date default value is used when the operator is set to 'between' or 'not between'. You can use any values PHP's date_create() can understand, like between '12AM today' and '12AM tomorrow.

After putting the 'now' in the textfield underneath the explanation text it works like it should. Maybe this could be made even more clear in the text after already s.o. (clausbo) else seems to have missunderstood this.

silvesterd’s picture

Thank you, that helped me, really! So bad..