-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
This feature was removed in #1. While I understand the reason for needing a single type that can dynamically represent different time zones, a project I'm currently working on needs to statically mark a value as being in a specific timezone:
#[derive(Deserialize)]
pub struct Event {
pub start: DateTime<Europe::Berlin>,
pub end: DateTime<Europe::Berlin>,
// and some irrelevant fields ...
}
This is because the timestamps I'm deserializing are not marked with any timezone but the documentation specifies that they are to be interpreted as local times in Germany (and that no DST-ambiguous timestamps occur).
It would be great if this library could support both use-cases.
eigenein, lukesneeringer, ezracelli and avsaase
Metadata
Metadata
Assignees
Labels
No labels