mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-17 03:44:11 +03:00
fix date
This commit is contained in:
@@ -19,7 +19,8 @@ function run() {
|
|||||||
<button onclick="document.getElementById('editor').hidden = false; this.hidden = true;" >Editor</button>
|
<button onclick="document.getElementById('editor').hidden = false; this.hidden = true;" >Editor</button>
|
||||||
<div id='editor' hidden='true'>
|
<div id='editor' hidden='true'>
|
||||||
<textarea id="cnsl">
|
<textarea id="cnsl">
|
||||||
var date = getFullYear() + "-" + (getMonth()+1) + "-" + getDate();
|
const d = new Date();
|
||||||
|
var date = d.getFullYear() + "-" + (d.getMonth()+1) + "-" + d.getDate();
|
||||||
fetch('/fileserver/log/message/log_'+date+'.txt')
|
fetch('/fileserver/log/message/log_'+date+'.txt')
|
||||||
.then(response => {
|
.then(response => {
|
||||||
// handle the response
|
// handle the response
|
||||||
|
|||||||
Reference in New Issue
Block a user