Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.0-rc1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2011 at 16:58 UTC
Updated:
1 Nov 2011 at 20:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
dawehnerYou are sadly right. As you use sqlite you are probably more an expert in sqlite.
Please assign the issue to yourself if you can work on it.
Comment #2
dawehnerUpdate title
Comment #3
chi commentedI am not expert in sqlite. After digging in the code of includes/handlers.inc i found a few functions that are needed to be changed:
views_get_timezone(), views_date_sql_format() and views_date_sql_extract().
There is an article (probably in spanish) that may be helpful for you.
http://www.diegotundo.name/blog/archive-view-su-drupal-7-e-sqlite-errore...
Comment #4
chi commentedComment #5
dawehnerThat's great! I just use the main part of this code to create a patch. It would be really great if you could test it.
Comment #6
chi commentedWhat about views_get_timezone() ?
Comment #7
chi commentedI have tested date sorting with granularity, The patch works for me.
Comment #8
Diego Tundo commentedI am the author of the article and I'm really happy to help you! Please contact me if you need on twitter.
Comment #9
dawehnerThanks for testing the patch. Commited to 7.x-3.x
I talked it some sqlite folks and they set there is no function to convert the timezone.