hotfix TDNS time parsing
This commit is contained in:
parent
ef060548e3
commit
256c70571a
|
|
@ -15,6 +15,7 @@ import java.net.http.HttpRequest;
|
|||
import java.net.http.HttpResponse;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.time.Duration;
|
||||
import java.time.Instant;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
|
|
@ -93,7 +94,7 @@ public class TDNSAPI implements Closeable {
|
|||
private long soaSerial;
|
||||
@JSONProperty(required = false)
|
||||
@Getter
|
||||
private Date expiry;
|
||||
private Instant expiry;
|
||||
@JSONProperty(required = false)
|
||||
@Getter
|
||||
private boolean isExpired;
|
||||
|
|
@ -105,7 +106,7 @@ public class TDNSAPI implements Closeable {
|
|||
private boolean disabled;
|
||||
@JSONProperty
|
||||
@Getter
|
||||
private Date lastModified;
|
||||
private Instant lastModified;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue