mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 09:22:42 +03:00
Don't hardcode dates into script
This commit is contained in:
parent
cc3186cb4a
commit
3f79b0c7cc
@ -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`);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user