Skip to content
Discussion options

You must be logged in to vote

Hi, thanks for the question! Could you clarify your use-case?

The datetime types in icu do not implement many of the common helper traits, like Serialize or Ord, because they are not designed for storage or interchange. They are designed for formatting input and calendrical calculations.

We have worked closely with the authors of temporal_rs which ships a much more fully featured ZonedDateTime, including functions like to_ixdtf_string for serialization. You might also consider libraries such as time, jiff, and chrono.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@LeandroVandari
Comment options

@nekevss
Comment options

@LeandroVandari
Comment options

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