Don't hardcode dates into script

This commit is contained in:
Joseph Lyons 2023-05-24 17:39:02 -04:00
parent cc3186cb4a
commit 3f79b0c7cc

View File

@ -9,8 +9,8 @@ main();
async function main() {
// Use form of: YYYY-MM-DD - 2023-01-09
const startDate = new Date("2023-01-01");
const today = new Date("2023-01-010")
const startDate = new Date(process.argv[2]);
const today = new Date()
console.log(`Changes from ${startDate} to ${today}\n`);