ACS : Fix card expiration date check
This commit is contained in:
@@ -128,7 +128,7 @@ public class Main {
|
||||
LocalDateTime now = LocalDateTime.now();
|
||||
|
||||
// 1. Date d'expiration est future
|
||||
if (cardDate.isAfter(now)) {
|
||||
if (now.isAfter(cardDate)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user