1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-15 17:46:55 +00:00
This commit is contained in:
Michael 2021-11-13 18:05:06 +01:00 committed by GitHub
commit 94608d5096
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -389,7 +389,7 @@ export default class SettingsManager extends Module {
async generateBackupFile() { async generateBackupFile() {
const now = new Date(), const now = new Date(),
timestamp = `${now.getFullYear()}-${now.getMonth()}-${now.getDate()}`; timestamp = `${now.getFullYear()}-${now.getMonth() + 1}-${now.getDate()}`;
if ( await this._needsZipBackup() ) { if ( await this._needsZipBackup() ) {
const blob = await this._getZipBackup(); const blob = await this._getZipBackup();