function dateRange
dateRange(
start: string,
end: string,
): string[]

Generate a range of YYYY-MM-DD date strings from start to end (inclusive). A start past the end is an empty range: Array.from reads the negative length as zero.

Parameters

start: string
end: string

Return Type

string[]

Usage

import { dateRange } from "docs/listings.ts";