Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2010 at 13:30 UTC
Updated:
24 Mar 2010 at 21:00 UTC
The current help text for the date filter is incorrect for the date offset filter type. Currently, it is 'An offset from the current time such as "+1 day" or "-2 hours and 30 minutes"'. However, entering '-2 hours and 30 minutes' does not work! It appears that it should actually be '-2 hours -30 minutes'.
('-2 hours 30 minutes' (i.e. without the 'and') is intepreted as only 90 minutes ago, rather than the expected 150 minutes ago.)
See the attached patch to correct this, swapping '-2 hours and 30 minutes' for '-2 hours -30 minutes', including those in the translation files.
| Comment | File | Size | Author |
|---|---|---|---|
| views-date-offset-text.patch | 7.37 KB | james.williams |
Comments
Comment #1
dawehnerLooks fine.
Tested
Only the second does return something.
Comment #2
merlinofchaos commentedCommitted to all branches.