Ugly stuff to make editing times in place possible

Did anyone say DRY?

No?

Good.