[mirotalksfu] - add timeZone in config
هذا الالتزام موجود في:
@@ -61,7 +61,7 @@ module.exports = class Logger {
|
|||||||
|
|
||||||
getDateTime() {
|
getDateTime() {
|
||||||
const options = {
|
const options = {
|
||||||
timeZone: process.env.TZ || 'UTC',
|
timeZone: process.env.TZ || config.console.timeZone || 'UTC',
|
||||||
};
|
};
|
||||||
return colors.cyan(new Date().toLocaleString('en-US', options));
|
return colors.cyan(new Date().toLocaleString('en-US', options));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -195,6 +195,10 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
console: {
|
console: {
|
||||||
|
/*
|
||||||
|
timeZone: Time Zone corresponding to timezone identifiers from the IANA Time Zone Database es 'Europe/Rome' default UTC
|
||||||
|
*/
|
||||||
|
timeZone: 'UTC',
|
||||||
debug: true,
|
debug: true,
|
||||||
colors: true,
|
colors: true,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -9,8 +9,6 @@ services:
|
|||||||
container_name: mirotalksfu
|
container_name: mirotalksfu
|
||||||
hostname: mirotalksfu
|
hostname: mirotalksfu
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# environment:
|
|
||||||
# - TZ=Europe/Rome
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./app/src/config.js:/src/app/src/config.js:ro
|
- ./app/src/config.js:/src/app/src/config.js:ro
|
||||||
# These volume is mandatory if server.recording.enabled in the app/src/config.js
|
# These volume is mandatory if server.recording.enabled in the app/src/config.js
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم