Made browser-side date conversion robust.

refs #1888

Was converting from a complex date format on the browser side (to
localize the date/time). Now just using timestamps.