Skip to content
This repository was archived by the owner on Feb 6, 2022. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Parse RPL dates as UTC
  • Loading branch information
ibauersachs committed May 11, 2019
commit 717f3fc3e950d7627319d63ced628c3fabf16410
2 changes: 1 addition & 1 deletion src/test/java/org/jitsi/dnssec/unbound/rpl/RplParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ else if (data[2].equals("CHECK_ANSWER")) {
rpl.trustAnchors.add(rrset);
}
else if (line.matches("\\s*val-override-date:.*")) {
rpl.date = DateTime.parse(line.substring(line.indexOf("\"") + 1, line.length() - 2), DateTimeFormat.forPattern("yyyyMMddHHmmss"));
rpl.date = DateTime.parse(line.substring(line.indexOf("\"") + 1, line.length() - 2), DateTimeFormat.forPattern("yyyyMMddHHmmss").withZoneUTC());
}
else if (line.matches("\\s*val-nsec3-keysize-iterations:.*")) {
String[] data = line.substring(line.indexOf("\"") + 1, line.length() - 1).split("\\s");
Expand Down