Skip to content

Wrong parameter types for timestampFromIsoTime in message parser #39375

@7vignesh

Description

@7vignesh

The timestampFromIsoTime function in utils.ts expects parameters like year, month, etc. as string[], but the grammar always passes them as plain strings. This type mismatch could cause confusion or bugs. Please update the parameter types to string instead of string[].

Actual behavior:

  • Function signature uses string[] for parameters.
  • Called with plain string values.

Expected behavior:

  • Function should use string for all parameters to match how it’s called.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions