New Date API (2) causes error with Date Token

tanc - March 8, 2008 - 01:51
Project:Date Tokens
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi, first of all, great module. Its solved a couple of date issues where I've tried to filter views but the date api couldn't handle my particular request.

I've just upgraded to the new Date API but it seems to break something in Date Tokens. I get this error when editing a previously working view:
warning: date_create() [function.date-create]: Failed to parse time string (@BEGINPREVIOUSMONTH) at position 0 (@): Unexpected character in /Library/WebServer/Documents/cyclestats/sites/all/modules/date/date_api.module on line 542.

Is this an error with the Date module or with Date Tokens? Date API seems to be choking on the @ symbol and isn't filling the fields with the expected value.

 
 

Drupal is a registered trademark of Dries Buytaert.