debugging date format for ie and safari