Skip to content

Commit

Permalink
Document and illustrate change, roll micro version
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed May 31, 2024
1 parent b316feb commit 7409987
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
2024-05-31 Dirk Eddelbuettel <[email protected]>

* DESCRIPTION (Version,Date): Roll micro version and date

* src/ulid/ulid_struct.h: Switch to fork by Chris Bove which uses
std::chrono internally thus providing millisecond resolutions
* src/ulid/ulid_uint128.h: Idem
* src/wrapper.cpp: Updated to use std::chrono instead of time_t

* README.md: Document updates

2024-05-30 Dirk Eddelbuettel <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: ulid
Type: Package
Title: Generate Universally Unique 'Lexicographically' 'Sortable' Identifiers
Version: 0.3.1.1
Version: 0.3.1.2
Date: 2024-05-30
Authors@R: c(
person("Bob", "Rudis", role = "aut", comment = c(ORCID = "0000-0001-5670-2640")),
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ Chris Brove also collected in [his fork](https://github.com/ChrisBove/ulid) impr
[Suyash Verma](https://github.com/suyash) wrote the C++ header library
[ulid](https://github.com/suyash/ulid).

[Chris Bove](https://github.com/ChrisBove) updated internals to permit sub-second resolution.
[Chris Bove](https://github.com/ChrisBove) updated internals to permit sub-second resolution in his
[fork](https://github.com/ChrisBove/ulid).

[Bob Rudis](https://rud.is) created the R package, prepared versions 0.1.0 and 0.2.0, and released version 0.3.0 to CRAN.

Expand Down
1 change: 1 addition & 0 deletions local/gh_issue_2.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ u
df <- unmarshal(u)
format(df$ts, "%Y-%m-%d %H:%M:%OS3")
diff(df$ts)
data.table::data.table(df)

0 comments on commit 7409987

Please sign in to comment.