processes() fixed Node Version 8 compatibility issue

This commit is contained in:
Sebastian Hildebrandt 2023-01-29 20:52:01 +01:00
parent c4b67ba99b
commit b3b82ed6bf
4 changed files with 8 additions and 2 deletions

View File

@ -82,6 +82,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment | | Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- | | ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.17.6 | 2023-01-29 | `processes()` fixed Node Version 8 compatibility issue |
| 5.17.5 | 2023-01-29 | `processes()` improved parsing of all services (linux) | | 5.17.5 | 2023-01-29 | `processes()` improved parsing of all services (linux) |
| 5.17.4 | 2023-01-24 | `networkInterfaces()` sanitizing networkInterfaces device names | | 5.17.4 | 2023-01-24 | `networkInterfaces()` sanitizing networkInterfaces device names |
| 5.17.3 | 2023-01-10 | `processes()` fix elapsed time parsing (linux) | | 5.17.3 | 2023-01-10 | `processes()` fix elapsed time parsing (linux) |

View File

@ -57,6 +57,11 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr>
<th scope="row">5.17.6</th>
<td>2023-01-29</td>
<td><span class="code">processes()</span> fixed Node Version 8 compatibility issues</td>
</tr>
<tr> <tr>
<th scope="row">5.17.5</th> <th scope="row">5.17.5</th>
<td>2023-01-29</td> <td>2023-01-29</td>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png" alt="logo"> <img class="logo" src="assets/logo.png" alt="logo">
<div class="title">systeminformation</div> <div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div> <div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.17.5</span></div> <div class="version">New Version: <span id="version">5.17.6</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button> <button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div> </div>
<div class="down"> <div class="down">

View File

@ -98,7 +98,7 @@ function parseElapsedTime(etime) {
try { try {
res = new Date(current.getTime() - ms); res = new Date(current.getTime() - ms);
result = res.toISOString().substring(0, 10) + ' ' + res.toISOString().substring(11, 19); result = res.toISOString().substring(0, 10) + ' ' + res.toISOString().substring(11, 19);
} catch { } catch (e) {
util.noop(); util.noop();
} }
return result; return result;