Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2008 at 11:24 UTC
Updated:
21 Jan 2009 at 20:20 UTC
The views_date_sql_format function in includes/handlers.inc produces the wrong date format for postgresql. The resulting string contains 'YY' (for 2 digit years) and should contain 'YYYY'.
This is exhibited in an unchanged "archive" view, which provides a block containing a list of months. The month names are all displayed the same (the current month), and the links are to archive/0810 instead of archive/200810.
I have included a patch which should fix this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| archive-view-fix.txt | 404 bytes | erik.erskine |
Comments
Comment #1
sander_123 commentedThanks! The patch works fine :)
Comment #2
merlinofchaos commentedCommitted!