mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Revert rule @typescript-eslint/prefer-nullish-coalescing
This commit is contained in:
@@ -430,7 +430,7 @@ export class DateTime implements INodeType {
|
||||
newDate = moment.unix(currentDate as unknown as number);
|
||||
} else {
|
||||
if (options.fromTimezone || options.toTimezone) {
|
||||
const fromTimezone = options.fromTimezone ?? workflowTimezone;
|
||||
const fromTimezone = options.fromTimezone || workflowTimezone;
|
||||
if (options.fromFormat) {
|
||||
newDate = moment.tz(
|
||||
currentDate,
|
||||
|
||||
Reference in New Issue
Block a user