I have the following:
class Atom(Base):
__tablename__ = 'atom'
id = Column( Integer, primary_key=True)
date = Column( Date, nullable=False, doc="date on which delivery occurred" )`
I look at the sql sent and I see the following for date
'date': datetime.datetime(2016, 3, 1, 0, 0, tzinfo=tzutc())
so when I pass 2016-03-01 and look in db I see 2016-02-29
How can I stop sqlachemy from adding the tzinfo for a Date type?