Closed (fixed)
Project:
Date
Version:
4.7.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2007 at 18:22 UTC
Updated:
23 Mar 2007 at 02:00 UTC
Function date_get_formats should retrieve the user selected format for a date from the cache or figure out what the format is for a given field.
In the code (date.module,v 1.13.2.38) it fails to verify if the cache has that information and returns and empty format, thus when editing a view the filed help text reads:
"This filter allows events to be filtered by their date. Enter dates in the format: . Enter 'now' to ..."
when it shoud read:
"This filter allows events to be filtered by their date. Enter dates in the format: D Jan YYYY. Enter 'now' to ..."
The attached patch solves the issue.
| Comment | File | Size | Author |
|---|---|---|---|
| date_get_formats-patch.txt | 1.14 KB | erapetti |
Comments
Comment #1
karens commentedNot sure why the cached data ended up empty, but it certainly makes sense to be sure it's not. Committed to all branches. Thanks!
Comment #2
(not verified) commented