mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
fix check_date bug
This commit is contained in:
parent
d19ea5f478
commit
3b64d74bf2
2
ani-cli
2
ani-cli
@ -182,7 +182,7 @@ check_db() {
|
|||||||
check_date() {
|
check_date() {
|
||||||
source_dt="$1"
|
source_dt="$1"
|
||||||
target_dt="$2"
|
target_dt="$2"
|
||||||
if [[ "$i" < "$j" ]] || [[ "$i" == "$j" ]]; then
|
if [[ "$source_dt" < "$target_dt" ]] || [[ "$source_dt" == "$target_dt" ]]; then
|
||||||
return 1
|
return 1
|
||||||
else
|
else
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user