Bug Fixed
This commit is contained in:
1 parent
2be842abea
commit
2280ff64a4
2 files changed
+10372
-3
No files matched your search
@@ -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