mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-09-28 04:31:43 +02:00
feat(editor): Add examples for Luxon DateTime expression methods (#9361)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
co-authored by
Iván Ovejero
parent
211823650b
commit
40bce7f443
@@ -217,7 +217,7 @@ function toDate(value: string): Date {
|
||||
return date;
|
||||
}
|
||||
|
||||
function toDateTime(value: string, extraArgs: [string]): DateTime {
|
||||
export function toDateTime(value: string, extraArgs: [string] = ['']): DateTime {
|
||||
try {
|
||||
const [valueFormat] = extraArgs;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user