monthly frequency can be detected if t1-t0 == 28,30 or 31
use ES5 in validate