Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vzor- committed Sep 9, 2024
1 parent 957566a commit e8f8e0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/qz/auth/Certificate.java
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ public String getValidTo(TimeZone timeZone) {
}
}

private String formatDate(Instant date, TimeZone timeZone) {
private static String formatDate(Instant date, TimeZone timeZone) {
ZoneId zoneId;
String timeZoneString;
if (timeZone == null) {
Expand Down
1 change: 1 addition & 0 deletions src/qz/ui/component/CertificateTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public void refreshComponents() {
switch(field){
case TRUSTED:
if (!Certificate.isTrustBuiltIn()) continue; // Remove "Verified by" text; uncertain in strict mode
break;
case VALID_TO:
timeZone = useLocalTimezoneValidTo ? TimeZone.getDefault() : UTC_TIME_ZONE;
break;
Expand Down

0 comments on commit e8f8e0c

Please sign in to comment.