A better Rust ATProto crate

Expose dt value on jacquard_common Datetime #27

closed opened by blooym.dev

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.

it should be better documented, but jacquard datetime has AsRef<chrono::DateTime> but a milliseconds method wouldn't go amiss either

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:p5yjdr64h7mk5l3kh6oszryk/sh.tangled.repo.issue/3mcihhqqumr22