Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit d20a821

Browse files
committed
feat: replace timestamp placeholder
1 parent f96de77 commit d20a821

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/cc/cc1234/app/controller/NodeInfoViewController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ private void showTimestamp() {
280280

281281
private String format(long timestamp) {
282282
if (timestamp == 0) {
283-
return "";
283+
return "-";
284284
} else {
285285
return OffsetDateTime.ofInstant(Instant.ofEpochMilli(timestamp), ZoneId.systemDefault())
286286
.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));

0 commit comments

Comments
 (0)