Bug 977050 - Automate changing end date/time in Calendar

This patch is just for ui review not code review currently.
Sure, we could do that. And we need to add `name` attributes in the elements.