I use CCK Date (not unix timestamp) to show content archived by Day (past content and future content).

The problem is whenever you select "Summary" as the argument. When hovering over the links, it takes you to the day after.

Example Clicking "August 4,2007" actually takes you to August 5, 2007.

The CCK date are going to the right view, they are just displaying wrong. What I mean by that is, when it takes you to August 5th instead of August 4th, it is showing the content for August 5th (like it should).

Setup: CCK Date
Granularity : Year/Month/Day
Timezone: No timezones
Site Timezone: Eastern Standard Time

Comments

merlinofchaos’s picture

Project: Views (for Drupal 7) » Date

This is an issue in the Views integration portion of the Date module

chadchandler’s picture

Thank you very much for responding.

I've been stressing about this for a few days now.. do you have any suggestions? I'll try anything!

karens’s picture

Can't tell anything about this without seeing the View you're using. Is this a custom view or a Views Calendar View? Either way, export the view and paste it here (surround it with so it's readable.

chadchandler’s picture

This is a custom view using a date with no time zone handling. Site time zone is CST, as is server time zone.

  $view = new stdClass();
  $view->name = 'atest';
  $view->description = '';
  $view->access = array (
);
  $view->view_args_php = '';
  $view->page = TRUE;
  $view->page_title = '';
  $view->page_header = '';
  $view->page_header_format = '3';
  $view->page_footer = '';
  $view->page_footer_format = '3';
  $view->page_empty = '';
  $view->page_empty_format = '3';
  $view->page_type = 'teaser';
  $view->url = 'atest';
  $view->use_pager = TRUE;
  $view->nodes_per_page = '10';
  $view->sort = array (
  );
  $view->argument = array (
    array (
      'type' => 'content: field_expiration',
      'argdefault' => '4',
      'title' => '',
      'options' => 'day',
      'wildcard' => '',
      'wildcard_substitution' => '',
    ),
  );
  $view->field = array (
  );
  $view->filter = array (
  );
  $view->exposed_filter = array (
  );
  $view->requires = array();
  $views[$view->name] = $view;
mlncn’s picture

Marked http://drupal.org/node/163929 as duplicate.

Interesting display bug, doubt it is timezone related as came up in that thread.

But I would like to ask what the estimated time of arrival on stable Date 5.x-2 might be. Time zone handling will be huge for the world social forum 2008 global/local call for action, and we at Agaric would like to do anything we can to help date along.

ben, Agaric Design Collective

chadchandler’s picture

Status: Active » Closed (fixed)
karens’s picture

Status: Closed (fixed) » Fixed

I am unable to replicate this using the latest code. All the summaries behave exactly as I would expect them to. It has possibly been fixed in recent commits, but at any rate I can't find any way to create a setup that behaves this way.

As to the plans for version 5.2, I want to get to this as soon as I can. I am doing some cleanup of the current code so I can have good stable official release of the current version available before I make the new version available for testing a debugging. I also have to get some work done on the CCK port, which is going to slow things down. So, I'm not sure what to tell you about a time frame except that I am as anxious as anyone else to get it done.

chadchandler’s picture

Priority: Normal » Minor

Bravo!! A job well done in the latest release! Fixed!!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.