Skip to content

custom formatters and dates #141

Answered by s-cork
billcla asked this question in Q&A
Apr 8, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

a cell formatter expects the return value to be a string
you're returning a datetime object

so something like

return cell_val.isoformat()

will sort it for you

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@billcla
Comment options

Comment options

You must be logged in to vote
1 reply
@billcla
Comment options

Answer selected by billcla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants