allow timestamp to be a float, issue #33