clarification on Uuid::to_timestamp #403

Closed
opened 2019-05-09 16:24:24 -05:00 by jstrong-tios · 2 comments
jstrong-tios commented 2019-05-09 16:24:24 -05:00 (Migrated from github.com)

The timestamp returned by Uuid::to_timestamp -- is it the number of 100 nanosecond intervals since midnight 15 October 1582? I think so, but wanted to make sure. I'll add to the docs and submit a pull request if this is correct.

The timestamp returned by `Uuid::to_timestamp` -- is it the number of 100 nanosecond intervals since midnight 15 October 1582? I think so, but wanted to make sure. I'll add to the docs and submit a pull request if this is correct.
kinggoesgaming commented 2019-05-09 17:11:18 -05:00 (Migrated from github.com)

Yes: https://docs.rs/uuid/0.7.4/src/uuid/v1.rs.html#105

Source to the Rust file `/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/uuid-0.7.4/src/v1.rs`.
Yes: https://docs.rs/uuid/0.7.4/src/uuid/v1.rs.html#105 <blockquote><img src="https://www.rust-lang.org/favicon.ico" width="48" align="right"><div><strong><a href="https://docs.rs/uuid/0.7.4/src/uuid/v1.rs.html#105">v1.rs.html -- source</a></strong></div><div>Source to the Rust file `/home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/uuid-0.7.4/src/v1.rs`.</div></blockquote>
kinggoesgaming commented 2019-05-10 15:44:45 -05:00 (Migrated from github.com)
#404
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-uuid-rs/uuid#403
No description provided.