Solved a problem when the user did not changed the date of the spent and it was stored in the database with a value of 0