Skip to content

Where are the date!() and time!() docs? #331

Closed Answered by jhpratt
detly asked this question in Question
Discussion options

You must be logged in to vote

Go to the macros module, which is the preferred way to import the macros. For some reason rustdoc doesn't copy documentation when re-exported.

With regard to PrimitiveDateTime and OffsetDateTime, it is not possible in v0.2 to construct them directly. You'll have to use per-existing methods on the structs. If you're using the alpha (which it doesn't look like), you can use the datetime! macro.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by detly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation
2 participants
Converted from issue

This discussion was converted from issue #330 on June 14, 2021 05:30.