Possible bug fixed
This commit is contained in:
1 parent
df7bea0836
commit
5deecf8055
1 file changed
+2
-2
+2
-2
@@ -442,7 +442,7 @@ function newFileCursor() {
|
||||
if (beginDateRange !== undefined) {
|
||||
let compareBeginDate = removeTime(beginDateRange)
|
||||
|
||||
if (compareTargetDate.valueOf() < compareBeginDate) {
|
||||
if (compareTargetDate.valueOf() < compareBeginDate.valueOf()) {
|
||||
controlLoop()
|
||||
return
|
||||
}
|
||||
@@ -451,7 +451,7 @@ function newFileCursor() {
|
||||
if (endDateRange !== undefined) {
|
||||
let compareEndDate = removeTime(endDateRange)
|
||||
|
||||
if (compareTargetDate.valueOf() > compareEndDate) {
|
||||
if (compareTargetDate.valueOf() > compareEndDate.valueOf()) {
|
||||
controlLoop()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user