Fixed bug in BSD date