Initial support for branching.

Also use correct timezone on the date.