Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-36323: [Python] Fix Timestamp scalar repr error on values ou…
…tside datetime range (apache#36942) ### Rationale for this change apache#36323 ### What changes are included in this PR? Changed the way repr is handled for TimestampScalar ### Are these changes tested? I have added a very basic test for this change to see whether it will error or not if outside the range. ### Are there any user-facing changes? The functionality of TimestampScalar's repr now uses the `strftime` function. * Closes: apache#36323 Lead-authored-by: Ashish Bailkeri <ashishbailkeri123@gmail.com> Co-authored-by: Ashish Bailkeri <47304318+aboss123@users.noreply.github.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
- Loading branch information