When I recive from postgres database a recieved record looks like this
{1 2 1 placed false 2013-06-01 00:00:00 +0000 +0000}
where 2013-06-01 00:00:00 +0000 +0000
is postgres Date type and my model object has a field of type time.Time
How can I format that Time field into shorter 2013-06-01 representation?