crappy support for formatting dates/times