mirror of
https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-consumer.git
synced 2026-09-21 16:52:03 -07:00
fix(logs): Fixing log naming issue
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user