Bug Fixed
This commit is contained in:
@@ -13,9 +13,8 @@ export default function BasicDateCalendar(p) {
|
||||
|
||||
function getBackMonthColor(monthIndex)
|
||||
{
|
||||
let date = new Date(parseInt(startParts[2]), parseInt(startParts[1]) + monthIndex, 1)
|
||||
console.log(p.highlightYear + " " + date.getFullYear())
|
||||
if (date.getFullYear() === p.highlightYear && date.getMonth() === p.highlightMonth + 1)
|
||||
let date = new Date(parseInt(startParts[2]), parseInt(startParts[1]) + monthIndex - 1, 1)
|
||||
if (date.getFullYear() === p.highlightYear && date.getMonth() === p.highlightMonth)
|
||||
{
|
||||
return true
|
||||
}else
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user