You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[package]
name = "scratch"
version = "0.1.0"
edition = "2021"[dependencies]
chrono = "0.4.38"
src/main.rs
use chrono::NaiveDateTime;fnmain(){let result = NaiveDateTime::parse_from_str("2024-06-03 20:02:48.6800000","%Y-%m-%d %H:%M:%S%.6f0",);println!("{:?}", result);let result = NaiveDateTime::parse_from_str("2024-06-03 20:02:48.680000","%Y-%m-%d %H:%M:%S%.6f",);println!("{:?}", result);}
the workaround on the user's side is very easy (just strip the trailing '0'), so this can easily just be considered out-of-scope if it adds unnecessary complexity here
This was originally reported here: pola-rs/polars#17167
To reproduce:
src/main.rs
prints
The text was updated successfully, but these errors were encountered: