fix issue #22 Custom date range does not work

convert time to influxdb's absolute time if custom date range used