set time precision to seconds

Some users of influxdb have reported wrong timestamps when using the proxy. This pull request fixes the time stamp precision.