Skip to content

Add support for capitalized month names when casting dates #83

Description

@yruslan

Background

Currently, the pattern ddMMMyyyy doesn't work for dates like 11JAN2026, only 11Sep2012.

In Java this is fixed by making the formatter case-insensitive:

val formatter = new DateTimeFormatterBuilder()
  .parseCaseInsensitive()
  .appendPattern("ddMMMyyyy")
  .toFormatter(Locale.ENGLISH);

However, Spark does not do that and patterns are case sensitive.

Feature

Add support for capitalized month names when casting dates.

Business Value

--

Example [Optional]

--

Proposed Solution [Optional]

--

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions