localize time from websockets data