Fixtures and preparing dates


(Jonny) #1

On thefixture guide , what is the way to prepare a field that is a date in the DB?


#2

depends on which format it has in DB, if you store unix timestamp, it would be integer, if it is a date type, use string like '2018-11-09'