Skip to content

Explore new temporal_rs crate for date/timezone localization #603

@kevinaboos

Description

@kevinaboos

The first "stable" release of temporal_rs has recently been made available: https://boajs.dev/blog/2025/09/24/temporal-release

crates.io link: https://crates.io/crates/temporal_rs

There are few TODO items scattered across Robrix related to
For example, here is one in the Timestamp widget:

// TODO: use pure_rust_locales crate to format the time based on the chosen Locale.
let locale_extended_fmt_en_us= "%a %b %-d, %Y, %r";

and here's the same example duplicated in the EditedIndicator widget:

// TODO: use pure_rust_locales crate to format the time based on the chosen Locale.
let locale_extended_fmt_en_us= "%a %b %-d, %Y, %r";

I'm not sure if temporal_rs will help make this easier, or if it's too big to be worth the compilation time costs, but we should investigate it nonetheless.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions