Fix date formatting for BSD

and os x :)