Deluge expecting different data type

Deluge expecting different data type

This method (below) has been working fine for 9 months.  Last night it appeared to fail.  This morning I just tried to re-save it and got " Mismatch data type for function 'getPreviousTradingDay' at argument index 1 expected data type TIMESTAMP found data type DATE "  

the method signature for getPreviousTradingDay is:

date utils.getPreviousTradingDay(date inDate)


void utils.doCMEUpdate(string commodity, date inDate)
{
    clist = {};
    if (input.commodity  ==  null)
    {
        return;
    }
    if (input.commodity.toLowerCase()  ==  "all")
    {
        clist = {"Crude", "RBOB", "ULSD", "Propane", "Natural Gas"};
    }
    else
    {
        clist = {input.commodity};
    }
    tradeDate = thisapp.utils.getPreviousTradingDay(input.inDate);
    // info "trade Date = " + tradeDate;
    for each c in clist
    {
        data = thisapp.utils.getCMESettlementData(c, tradeDate);
        // info "data = " + data;
        thisapp.utils.storeTradeDateDataFromMap(data);
    }
}

Did something change in how Creator handles date data types?