I have need to access the inner dt value on jacquard_common::types::datetime::Datetime because I want to convert to raw timestamp seconds. Right now the current implementation requires me to access the string representation of the Datetime and then re-parse it into a chrono DateTime, when instead I could just be reading the pre-existing value from the jacquard type.
A better Rust ATProto crate
Expose dt value on jacquard_common Datetime #27
closed
opened by
blooym.dev
Labels
None yet.
assignee
None yet.
Referenced by
it should be better documented, but jacquard datetime has
AsRef<chrono::DateTime>but a milliseconds method wouldn't go amiss either