Skip to content

Different behavior of the @DateTimeFormat when running on Local env and on Cloud env (Heroku) #42430

Closed as not planned
@rayman245

Description

@rayman245

I noticed some inconsistency in the behavior of the @DateTimeFormat (DTF) annotation where passing the date "30-9-2024 7:41:00 pm" using @DateTimeFormat(pattern="d-M-yyyy h:mm:ss a") worked on my local but failed in cloud environment, and this was after upgrading the project from SB2 to SB3.3.3.

Tested out a few scenarios and below is my results:

image

image

not sure if could be related to spring-projects/spring-framework#30649 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: external-projectFor an external project and not something we can fixstatus: duplicateA duplicate of another issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions