user edit date fix

Input type date had different time format than the one in
database, fixed that.