sqlite and postgres return different things when truncating a date

applied quick fix so that it works with postgres / need to find a workaround so
that tests and real-world-usage both work
Released v0.1.1