mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-21 20:12:33 +03:00
add newline
This commit is contained in:
parent
2e28d7274c
commit
2a1ba65dda
1 changed files with 1 additions and 1 deletions
|
@ -66,4 +66,4 @@ function prettyDateTime(timeStr) {
|
|||
const offsetMs = dt.getTimezoneOffset() * 60 * 1000;
|
||||
const dateLocal = new Date(dt.getTime() - offsetMs);
|
||||
return dateLocal.toISOString().slice(0, 19).replace(/-/g, "/").replace("T", " ");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue