Merge pull request #72 from christroutner/unstable

fix(logs): Fixing log naming issue
This commit is contained in:
Chris Troutner
2020-06-08 10:03:36 -07:00
committed by GitHub
+2 -1
View File
@@ -132,7 +132,8 @@ class LogsApi {
generateFileName () {
try {
const now = new Date()
const thisDate = now.getDate()
let thisDate = now.getDate()
thisDate = ('0' + thisDate).slice(-2)
let thisMonth = now.getMonth() + 1
thisMonth = ('0' + thisMonth).slice(-2)