fix for ie7 in date extensions