Skip to content

$fromMillis($toMillis("Tue, 4 Oct 2022 12:00:01 -0400", "[Fn,-3], [D] [Mn,-3] [Y0001] [H01]:[m01]:[s01] [Z0000]" )) throws a JSONata mapping error #227

Description

@ghprud

When using the following formula

$fromMillis($toMillis("Tue, 4 Oct 2022 12:00:01 -0400", "[Fn,-3], [D] [Mn,-3] [Y0001] [H01]:[m01]:[s01] [Z0000]" ))

I see the following error
JSONata syntax error: line 2:0 at [@0,1:0='',<-1>,2:0]: mismatched input '' expecting {'(', 'true', 'false', STRING, 'null', '[', '
{', '$', '$$', '**', NUMBER, FUNCTIONID, '*', '/', '-', '%', VAR_ID, ID}
JSONata mapping error: For input string: ""

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions