Skip to content

user-friendly datetime output #495

Answered by vadimcn
endermaz41 asked this question in Q&A
Discussion options

You must be logged in to vote

Codelldb shows how a datetime value is represented in memory.

What do you mean by "more user friendly"? Display::fmt()? Currently rustc does not emit debug info for traits, so it is not possible to invoke them to format a value. You could create a custom formatter for datetimes though.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@endermaz41
Comment options

@endermaz41
Comment options

Answer selected by endermaz41
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
Converted from issue

This discussion was converted from issue #494 on July 27, 2021 17:18.