I have content type node for newsletters. Within that content type I have a date field configured, field_newsletter_date. I have a file field configured for the same node, field_attach_marquee_newsletter. I have Auto Node Title configured for this node to publish "[node:field-newsletter-date:custom:F] [node:field-newsletter-date:custom:Y] - Marquee Newsletter" for the title. It is publishing the date incorrectly; it is publishing the month behind by one month. So if the field is set to February, it's displaying January. Now, for that node, I also have the file (field) path settings configured to change the uploaded file's filename to "[node:field-newsletter-date:custom:Ym] Marquee Newsletter.[file:ffp-extension-original]". This is working correctly, it is renaming the uploaded file correctly. So this leads me to believe that this issue is a problem within the Automatic Node Title module.

I have the same issue with a different content type, meeting agenda and minutes node. Within that content type I have a date field configured, field_meeting_date. I have a file field configured for the same node, field_attach_agenda_or_minutes. I have Auto Node Title configured for this node to publish "[node:field-meeting-date:custom:F] [node:field-meeting-date:custom:j], [node:field-meeting-date:custom:Y] - [node:field_document_type]" for the title. It is also publishing the date incorrectly; it is publishing the day behind by one day. So if the field is set to February 13, it's displaying February 12. Now, for that node, I also have the file (field) path settings configured to change the uploaded file's filename to "[node:field-meeting-date:custom:Ymd] [node:field_document_type].[file:ffp-extension-original]". This is working correctly, it is renaming the uploaded file correctly. So this, again, leads me to believe that this issue is a problem within the Automatic Node Title module.

Drupal install up-to-date: Drupal 7.19. All modules are up-to-date: Automatic Nodetitles 7.x-1.0, Date 7.x-2.6, Entity API 7.x-1.0, and Token 7.x-1.4. PHP up-to-date: PHP 5.3.13.

Comments

RobertNelsonVance’s picture

Status: Active » Closed (duplicate)

Ok, nevermind. Patch in #21 in http://drupal.org/node/1197278 worked for me.