Formatting DateTime with DataMapper and SQLite

Im having some problem with formatting a date from and storing
it in a SQLite database using DataMapper. I have this code:

t =
Post.create(content: params[:content], number: 1, created_at:
t.strftime(’%Y-%m-%d %H:%M’), forumthread: theThread, user:

The code at the created_at column is supposed to return a nicely
formatted date “year-month-day hour-minute” and it return exactly that
when I test it in irb. But when I look in my database it looks like


It looks exactly the same as when I use without .strftime which
is supposed to format it, why?