Skip to content

[Bug]: Wrong timestamp format template in Select transform #5949

@maxbobse

Description

@maxbobse

Apache Hop version?

2.15

Java version?

OpenJDK 64-Bit Server VM Temurin-21.0.3+9 (build 21.0.3+9-LTS, mixed mode, sharing)

Operating system

Windows

What happened?

The format "MM/dd/yyyy HH:mm:ss aa" leads to issues when converting strings to timestamps because HH implies that there can be a 23:00 AM which is not true.

Image

Correct format should be 'MM/dd/yyyy hh:mm:ss aa'

See #5948 for more details.
Also, but here I am not sure, I believe having a single 'a' at the end to indicate AM/PM is sufficient.

Issue Priority

Priority: 3

Issue Component

Component: Transforms

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions