commit 248741188559148f0ca35cb3417586969e8509ad
parent 50d58dc65b70a065136c92c86e2f85c91718c778
Author: Gavin Rehkemper <gavinr@users.noreply.github.com>
Date: Wed, 29 Apr 2020 11:02:18 -0500
Merge pull request #16 from ad-si/patch-1
Fix month in CSV filename
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/export.js b/export.js
@@ -121,7 +121,7 @@ const exportIssues = (octokit, values, includeComments = false) => {
// console.log("csvString:", csvString);
const now = new Date();
let fileName = `${now.getFullYear()}-${twoPadNumber(
- now.getMonth()
+ now.getMonth() + 1
)}-${twoPadNumber(now.getDate())}-${twoPadNumber(
now.getHours()
)}-${twoPadNumber(now.getMinutes())}-${twoPadNumber(