1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-15 17:46:55 +00:00

JavaScript month index is 0-based sadge

This commit is contained in:
MHarmony 2021-09-07 12:06:10 -04:00
parent 04cfbe6ed9
commit 7dcac78baa

View file

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