fixed bug with handling of date() on linux