fix so date works in linux

removed old code