Ensure proper date formatting

When creating attendance manually from the attendance grid, the date
wasn’t getting saved in the proper format. This commit fixes issue #35