If I take a UUIDv1 generated with uuidgen -t and then take one generated by this library (less than a second later on the same machine, with uuid:to_string(uuid:uuid1())), the timestamp is wrong in the erlang-uuid version: '2012-12-07 05:27:59+0000' (uuidgen) vs. '1935-10-13 20:22:43+0000' (erlang-uuid). (I am parsing these by way of inserting them as columns into Cassandra, which sorts TimeUUID columns by their associated timestamp and displays them with their time value, not their UUID value, when selecting data at the cqlsh console.)
If I take a UUIDv1 generated with
uuidgen -t
and then take one generated by this library (less than a second later on the same machine, withuuid:to_string(uuid:uuid1())
), the timestamp is wrong in the erlang-uuid version: '2012-12-07 05:27:59+0000' (uuidgen) vs. '1935-10-13 20:22:43+0000' (erlang-uuid). (I am parsing these by way of inserting them as columns into Cassandra, which sorts TimeUUID columns by their associated timestamp and displays them with their time value, not their UUID value, when selecting data at the cqlsh console.)