mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-09-27 20:11:15 +02:00
fix: log session date format (W Sweden)
This commit is contained in:
@@ -78,7 +78,7 @@ const logger = createLogger({
|
|||||||
* Start Log Session
|
* Start Log Session
|
||||||
*/
|
*/
|
||||||
function logSessionStart(logDir, downloadPath) {
|
function logSessionStart(logDir, downloadPath) {
|
||||||
logger.info(`--- Starting session: ${new Date().toISOString()} ---`);
|
logger.info(`--- Starting session: ${new Date().toLocaleString('sv-SE')} ---`);
|
||||||
logger.info("============================================================")
|
logger.info("============================================================")
|
||||||
logger.info(`Application Version: ${config.version}`)
|
logger.info(`Application Version: ${config.version}`)
|
||||||
if (typeof logSystemInfo === 'function') logSystemInfo(logger, logDir, downloadPath);
|
if (typeof logSystemInfo === 'function') logSystemInfo(logger, logDir, downloadPath);
|
||||||
@@ -88,7 +88,7 @@ function logSessionStart(logDir, downloadPath) {
|
|||||||
* Stop Log Session
|
* Stop Log Session
|
||||||
*/
|
*/
|
||||||
function logSessionEnd() {
|
function logSessionEnd() {
|
||||||
logger.info(`--- Ending session: ${new Date().toISOString()} ---`);
|
logger.info(`--- Ending session: ${new Date().toLocaleString('sv-SE')} ---`);
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
Reference in New Issue
Block a user