Commit 042921af by Owen Ryan Ang

added get start time on startup for non bpo enabled

parent e4fd4ca7
...@@ -38,6 +38,14 @@ async function initializeWebGDE() { ...@@ -38,6 +38,14 @@ async function initializeWebGDE() {
new ElementListWidget(CURRENT_NODE, 'containerId'); new ElementListWidget(CURRENT_NODE, 'containerId');
} else { } else {
// Get current timestamp
const currentTimeStamp = Date.now();
const currentDate = new Date(currentTimeStamp);
const humanReadableTime = currentDate.toLocaleString();
// Save to session storage
sessionStorage.setItem("timeStart", humanReadableTime);
await createWebGdeInterface(null); await createWebGdeInterface(null);
setDocumentControlObject(new DocumentControlWidget()); setDocumentControlObject(new DocumentControlWidget());
document.getElementById("input-field-container").appendChild(DOCUMENT_CONTROL_OBJECT.getWidget()); document.getElementById("input-field-container").appendChild(DOCUMENT_CONTROL_OBJECT.getWidget());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment