Commit 9b1bab5
TST: cover default dayfirst/yearfirst parse with unit (GH#63472)
Make dayfirst/yearfirst required on _to_datetime_with_unit so a future
recursion site that drops them fails loudly, matching objects_to_datetime64.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent aea0c5d commit 9b1bab5
2 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | | - | |
531 | | - | |
| 530 | + | |
| 531 | + | |
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3977 | 3977 | | |
3978 | 3978 | | |
3979 | 3979 | | |
| 3980 | + | |
3980 | 3981 | | |
3981 | 3982 | | |
3982 | 3983 | | |
| |||
3994 | 3995 | | |
3995 | 3996 | | |
3996 | 3997 | | |
3997 | | - | |
| 3998 | + | |
3998 | 3999 | | |
3999 | 4000 | | |
4000 | 4001 | | |
4001 | 4002 | | |
4002 | 4003 | | |
4003 | | - | |
| 4004 | + | |
4004 | 4005 | | |
4005 | 4006 | | |
4006 | 4007 | | |
4007 | | - | |
| 4008 | + | |
4008 | 4009 | | |
4009 | 4010 | | |
4010 | 4011 | | |
| |||
0 commit comments