Skip to content

Commit

Permalink
align indent
Browse files Browse the repository at this point in the history
  • Loading branch information
wsyxbcl committed Dec 5, 2024
1 parent 724f788 commit 52ced94
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions crates/polars-time/src/chunkedarray/string/infer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ const DATETIME_DMY_PATTERN: &str = r#"(?x)
(?:\d{4,}) # year
(?:
[T\ ] # separator
(?:\d{1,2}) # hour
(?:\d{1,2}) # hour
:? # separator
(?:\d{1,2}) # minute
(?:\d{1,2}) # minute
(?:
:? # separator
(?:\d{1,2}) # second
(?:\d{1,2}) # second
(?:
\.(?:\d{1,9}) # subsecond
)?
Expand All @@ -47,12 +47,12 @@ const DATETIME_YMD_PATTERN: &str = r#"(?x)
(?:\d{1,2}) # day
(?:
[T\ ] # separator
(?:\d{1,2}) # hour
(?:\d{1,2}) # hour
:? # separator
(?:\d{1,2}) # minute
(?:\d{1,2}) # minute
(?:
:? # separator
(?:\d{1,2}) # seconds
(?:\d{1,2}) # seconds
(?:
\.(?:\d{1,9}) # subsecond
)?
Expand Down

0 comments on commit 52ced94

Please sign in to comment.