fixing date for logs