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