Fix longstanding problem with all-day events VCALENDAR attachment

* Another hard-to-find, but dumb, mistake
* Fix unit test

Bug: 3334965
Change-Id: I5b18add38780bb476e29d9ae2a28247feebe21e5
2 files changed