update datetime usage to match changes to protocol.
Merge branch 'master' of github.com:ContinuumIO/bokeh