import { isSameQuarter } from "https://deno.land/x/date_fns@v2.0.0-alpha.35/index.js";
Examples
// Are 1 January 2014 and 8 March 2014 in the same quarter?
var result = isSameQuarter(new Date(2014, 0, 1), new Date(2014, 2, 8))
//=> true
// Are 1 January 2014 and 8 March 2014 in the same quarter? var result = isSameQuarter(new Date(2014, 0, 1), new Date(2014, 2, 8)) //=> true