Build the date during the test
Build the date during the test

Because we aren't using UTC time we need to build the
date to check against in the test so that it can be
run across the dateline.

R=rharding, gary.poster
CC=
https://codereview.appspot.com/7722045

bac/juju-gui,mitechie/juju-gui,mitechie/juju-gui,bac/juju-gui,mitechie/juju-gui,mitechie/juju-gui,jrwren/juju-gui,jrwren/juju-gui,CanonicalJS/juju-gui,CanonicalJS/juju-gui,bac/juju-gui,jrwren/juju-gui,bac/juju-gui,CanonicalJS/juju-gui,jrwren/juju-gui