const moment = require('moment')
const path = require('path')

module.exports = {
    generateBackupPath(databaseName, rootPath, now = null) {
        now = now || moment()
        const timestamp = moment(now).format('DD-MM-YYYY@HH-mm-ss')
        const day = moment(now).format('YYYY-MM-DD')
        const filename = `${databaseName}-${timestamp}.backup`
        const key = path.join(rootPath || '', day, filename)
        return key
    }
}

@@ -165,16 +165,22 @@
 moment()
+.utc()
 %0A       

use utc dates