mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 01:56:55 +00:00
JavaScript month index is 0-based sadge
This commit is contained in:
parent
04cfbe6ed9
commit
7dcac78baa
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue