mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Prettified Code!
This commit is contained in:
parent
2b8338cd62
commit
68024104e5
1 changed files with 4 additions and 4 deletions
|
@ -1627,7 +1627,7 @@ ipcRenderer.on("action-update-reception-status", (event, arg) => {
|
||||||
var arq_bytes_per_minute_compressed = Math.round(
|
var arq_bytes_per_minute_compressed = Math.round(
|
||||||
arq_bytes_per_minute * compress
|
arq_bytes_per_minute * compress
|
||||||
);
|
);
|
||||||
console.log(arq_bytes_per_minute)
|
console.log(arq_bytes_per_minute);
|
||||||
time_left +=
|
time_left +=
|
||||||
formatBytes(arq_bytes_per_minute, 1) +
|
formatBytes(arq_bytes_per_minute, 1) +
|
||||||
" (comp: " +
|
" (comp: " +
|
||||||
|
@ -2190,9 +2190,9 @@ function updateHeardStations(arg) {
|
||||||
//https://stackoverflow.com/a/847196
|
//https://stackoverflow.com/a/847196
|
||||||
timestampRaw = arg.stations[i]["timestamp"];
|
timestampRaw = arg.stations[i]["timestamp"];
|
||||||
|
|
||||||
var datetime = new Date(
|
var datetime = new Date(timestampRaw * 1000).toLocaleString(
|
||||||
timestampRaw * 1000
|
navigator.language
|
||||||
).toLocaleString(navigator.language);
|
);
|
||||||
//var hours = date.getHours();
|
//var hours = date.getHours();
|
||||||
//var minutes = "0" + date.getMinutes();
|
//var minutes = "0" + date.getMinutes();
|
||||||
//var seconds = "0" + date.getSeconds();
|
//var seconds = "0" + date.getSeconds();
|
||||||
|
|
Loading…
Reference in a new issue