Commits


Ashish Bailkeri authored and GitHub committed 112f9497188
GH-36323: [Python] Fix Timestamp scalar repr error on values outside datetime range (#36942) ### Rationale for this change https://github.com/apache/arrow/issues/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: #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>