export function doesCurationPathMatch()

in lambda/publish-todays-curation/src/curation.ts [82:89]


export function doesCurationPathMatch(p: CurationPath, d: Date): boolean {
	//Remember that Javascript dates have Jan=month 0, Feb=month 1 etc.! Hence the +1.
	return (
		p.year == d.getFullYear() &&
		p.month == d.getMonth() + 1 &&
		p.day == d.getDate()
	);
}