Index: conference_organizing.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/conference_organizing/conference_organizing.module,v
retrieving revision 1.7
diff -r1.7 conference_organizing.module
2719c2719
<   $result = db_query("select distinct month(FROM_UNIXTIME(field_schedule_start_time_value)) as month, day(FROM_UNIXTIME(field_schedule_start_time_value)) as day, year(FROM_UNIXTIME(field_schedule_start_time_value)) as year from {content_type_session} content_type_session inner join {og_ancestry} og_ancestry on content_type_session.nid = og_ancestry.nid where og_ancestry.group_nid = %d and content_type_session.field_scheduled_value = %d order by year,month,day", $conference->nid,1);
---
>   $result = db_query("select distinct month(FROM_UNIXTIME(field_schedule_start_time_value)) as month, (day(FROM_UNIXTIME(field_schedule_start_time_value)) - 1) as day, year(FROM_UNIXTIME(field_schedule_start_time_value)) as year from {content_type_session} content_type_session inner join {og_ancestry} og_ancestry on content_type_session.nid = og_ancestry.nid where og_ancestry.group_nid = %d and content_type_session.field_scheduled_value = %d order by year,month,day desc", $conference->nid,1);
