Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Vzor- committed Sep 9, 2024
1 parent 784538a commit 69fec4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qz/ui/component/CertificateTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
public class CertificateTable extends DisplayTable implements Themeable {
private Certificate cert;

private static final TimeZone utcTimeZone = TimeZone.getTimeZone("UTC");
private static final TimeZone UTC_TIME_ZONE = TimeZone.getTimeZone("UTC");
private Instant warn;
private Instant now;
private boolean useLocalTimezone = false;
Expand Down Expand Up @@ -80,7 +80,7 @@ public void refreshComponents() {
if(field.equals(Certificate.Field.TRUSTED) && !Certificate.isTrustBuiltIn()) {
continue; // Remove "Verified by" text; uncertain in strict mode
}
TimeZone timeZone = useLocalTimezone ? TimeZone.getDefault() : utcTimeZone;
TimeZone timeZone = useLocalTimezone ? TimeZone.getDefault() : UTC_TIME_ZONE;
model.addRow(new Object[] {field, cert.get(field, timeZone)});
}

Expand Down

0 comments on commit 69fec4d

Please sign in to comment.