mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Add timezone support to date type field in Notion (#2082)
* Add timezone in date property on Notion Signed-off-by: 5pecia1 <pdpxpd@gmail.com> * ⚡ Improvements to #2036 * ⚡ Minor improvements Co-authored-by: 5pecia1 <pdpxpd@gmail.com> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
@@ -405,6 +405,23 @@ export const databasePageFields = [
|
||||
description: `
|
||||
An ISO 8601 formatted date, with optional time. Represents the end of a date range.`,
|
||||
},
|
||||
{
|
||||
displayName: 'Timezone',
|
||||
name: 'timezone',
|
||||
type: 'options',
|
||||
displayOptions: {
|
||||
show: {
|
||||
type: [
|
||||
'date',
|
||||
],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTimezones',
|
||||
},
|
||||
default: 'default',
|
||||
description: 'Time zone to use. By default n8n timezone is used.',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
@@ -765,6 +782,23 @@ export const databasePageFields = [
|
||||
description: `
|
||||
An ISO 8601 formatted date, with optional time. Represents the end of a date range.`,
|
||||
},
|
||||
{
|
||||
displayName: 'Timezone',
|
||||
name: 'timezone',
|
||||
type: 'options',
|
||||
displayOptions: {
|
||||
show: {
|
||||
type: [
|
||||
'date',
|
||||
],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTimezones',
|
||||
},
|
||||
default: 'default',
|
||||
description: 'Time zone to use. By default n8n timezone is used.',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user