Filter class improves date initialization