Fix timezone
parent
3040ec9ab6
commit
8ad7d94c81
|
@ -35,6 +35,7 @@ if (badJob >= 0) {
|
|||
const bree = new Bree({
|
||||
root: join(__dirname, 'jobs'),
|
||||
defaultExtension: NODE_ENV === 'production' ? 'js' : 'ts',
|
||||
timezone: 'Europe/Paris',
|
||||
jobs,
|
||||
})
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ const nextDayStandup = nextDayMember
|
|||
|
||||
const now = new Date()
|
||||
.toLocaleTimeString('fr', {
|
||||
timeZone: 'Europe/Paris',
|
||||
hour: '2-digit',
|
||||
minute: '2-digit',
|
||||
})
|
||||
|
|
|
@ -55,6 +55,7 @@ const nextStandupOrder = botConfig.standupDays
|
|||
|
||||
const now = new Date()
|
||||
.toLocaleTimeString('fr', {
|
||||
timeZone: 'Europe/Paris',
|
||||
hour: '2-digit',
|
||||
minute: '2-digit',
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue