Merge branch 'add_minutes' of https://github.com/q6q9/guild into add_minutes
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user