convert utc timestamps to local time for flot plot