user-friendly datetime output #495
Answered
by
vadimcn
endermaz41
asked this question in
Q&A
-
Is there a reason why Datetime shows up like this ? It would be great if it showed a more user friendly value |
Beta Was this translation helpful? Give feedback.
Answered by
vadimcn
Jul 27, 2021
Replies: 1 comment 2 replies
-
Codelldb shows how a datetime value is represented in memory. What do you mean by "more user friendly"? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
endermaz41
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.