Page.py

Line 288 adds 1 to the month, causing December to become invalid and
every other month to be off as well.  This only appears to affect
querying dates.

/dabo/lib/datanav/Page.py

    elif fldType in ("date", "datetime"):
        if isinstance(ctrl, dabo.ui.dDateTextBox):
            dtTuple = ctrl.getDateTuple()
Line 288=>  dt = "%s-%s-%s" % (dtTuple[0], padl(dtTuple[1]+1, 2, "0"),
                            padl(dtTuple[2], 2, "0") )
        else:

+1 need not be added to the month.
            dt = "%s-%s-%s" % (dtTuple[0], padl(dtTuple[1], 2, "0"),


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to