Update main.js.download
This commit is contained in:
parent
479c320377
commit
9ad73561a2
|
@ -204,7 +204,7 @@ function commander(cmd) {
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
const options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric', hour: 'numeric', minute: 'numeric', second: 'numeric', timeZoneName: 'short' };
|
const options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric', hour: 'numeric', minute: 'numeric', second: 'numeric', timeZoneName: 'short' };
|
||||||
const formattedTime = now.toLocaleString('en-GB', options);
|
const formattedTime = now.toLocaleString('en-GB', options);
|
||||||
addLine("Current Local Time (UK): " + formattedTime, "color2", 80);
|
addLine("Your Current Local Time : " + formattedTime, "color2", 80);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Displaying the current local time and date in UK format
|
// Displaying the current local time and date in UK format
|
||||||
|
|
Loading…
Reference in New Issue