[BZ-1013545] raise a compilation error when date-effective or date-expires are in the wrong format