Closed (duplicate)
Project:
Automatic Nodetitles
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 May 2009 at 16:01 UTC
Updated:
31 Jul 2009 at 12:05 UTC
Autonode title generates the wrong date when using parts, e.g. [field_xx-dd], [field_x-dd], [field_xx-month]. It appears that the actual date minus 1 day is being used. The date field being used, xx, contains a value that has granularity only to the day level with no timezone processing. The site timezone is Chicago.
The view token [field_xx-view] works correctly.
This site us using the latest dev version of Date (6.x-2.x-dev) and Auto_Nodetitle (6.x-1.x-dev).
Comments
Comment #1
choster commentedWe've also been getting incorrectly generated dates, decremented by one unit of the highest granularity of date part (i.e. when granularity is set to day, auto_nodetitle gives us day-1; if set to month, the title is month-1, etc.).
This had been reported as a Date module issue (#313704: Date tokens returning earlier date); however, as Pathauto is interpreting the date tokens correctly, perhaps there is work to be done on the Auto Nodetitle side as well.
The most recent theory in the Date module thread was to change system weights; however, giving auto_nodetitle a heavier module weight in our system table did not alter our output.
Comment #2
aren cambre commentedsubscribe
Comment #3
bshensky commentedsubscribe - bug also appears in Drupal 5.16 + Date 5.x-2.5 + Automatic Nodetitles 5.x-1.2
Comment #4
bshensky commentedThe patch at http://drupal.org/node/313704 - #3 did solve my problem. This suggests that the problem is not with Auto Nodetitles or Token at all. YMMV.
Comment #5
fagoSo the issue seems to be in date.