mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-17 07:43:06 +01:00
#87: include system name in export file name
This commit is contained in:
@@ -1071,8 +1071,12 @@
|
|||||||
function formatDateForFilename(usePrefix, d) {
|
function formatDateForFilename(usePrefix, d) {
|
||||||
let rt = "";
|
let rt = "";
|
||||||
if (usePrefix) {
|
if (usePrefix) {
|
||||||
|
let hdl= document.getElementById('headline');
|
||||||
|
if (hdl){
|
||||||
|
rt=hdl.textContent+"_";
|
||||||
|
}
|
||||||
let fwt = document.querySelector('.status-fwtype');
|
let fwt = document.querySelector('.status-fwtype');
|
||||||
if (fwt) rt = fwt.textContent;
|
if (fwt) rt += fwt.textContent;
|
||||||
rt += "_";
|
rt += "_";
|
||||||
}
|
}
|
||||||
if (!d) d = new Date();
|
if (!d) d = new Date();
|
||||||
|
|||||||
Reference in New Issue
Block a user