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