Merge branch 'add_minutes' of https://github.com/q6q9/guild into add_minutes

This commit is contained in:
andrey
2021-11-23 16:16:09 +03:00
11 changed files with 56 additions and 8 deletions

View File

@ -68,7 +68,7 @@ class DateHelper {
static dateToString(date) {
let year = date.getFullYear()
let day = this.intToDate(date.getDate())
let month = this.intToDate(this.isDecember(date) ? 0 : date.getMonth() + 1)
let month = this.intToDate(date.getMonth() + 1)
return year + '-' + month + '-' + day
}