Skip to content

[Bug]: Issue with “month” function in JavaScript within Apache Hop – incorrect month number returned #4995

@alexdesousapereira

Description

@alexdesousapereira

Apache Hop version?

2.12

Java version?

17

Operating system

Windows

What happened?

When using the month function in a JavaScript script in Apache Hop, the returned value does not match the correct month number. The date is being converted to an incorrect value.

Example:

Image

Image

Issue Priority

Priority: 3

Issue Component

Component: Transforms

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions