Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dd.mm.yyyy to date inference / parsing #15949

Closed
JulianCologne opened this issue Apr 29, 2024 · 1 comment
Closed

Add dd.mm.yyyy to date inference / parsing #15949

JulianCologne opened this issue Apr 29, 2024 · 1 comment
Labels
enhancement New feature or an improvement of an existing feature

Comments

@JulianCologne
Copy link
Contributor

JulianCologne commented Apr 29, 2024

Description

the dd.mm.yyyy is a very common date format which currently is not infered by polars.

https://en.wikipedia.org/wiki/List_of_date_formats_by_country

just seaching wiki for different separators I found

  • dd/mm/yyyy: 36x ✅
  • dd.mm.yyyy: 26x --> Missing currently 😞
  • dd-mm-yyyy: 7x ✅

pub(super) static DATE_D_M_Y: &[&str] = &[
"%d-%m-%Y", // 31-12-2021
"%d/%m/%Y", // 31/12/2021
];


whoopsi just saw this is a duplicate of #14990

@JulianCologne JulianCologne added the enhancement New feature or an improvement of an existing feature label Apr 29, 2024
@alexander-beedie
Copy link
Collaborator

Yup; closing in favour of the earlier issue ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants