NEWS.md

clock 0.7.1

clock 0.7.0

New features

Breaking changes

Technically, rather than storing a variable number of integer vectors representing ticks, ticks of a day, and ticks of a second, we now always store values of these types within two double vectors, regardless of the precision. This simplifies the implementation and allows us to represent the full range of possible int64_t values (#331).

Lifecycle changes

Minor changes and bug fixes

clock 0.6.1

clock 0.6.0

clock 0.5.0

clock 0.4.1

clock 0.4.0

clock 0.3.1

For example:

``` x <- c("2019-01-01 00:00:59.123", "2019-01-01 00:00:59.556")

x <- naive_time_parse(x, precision = "millisecond") x #> [2]> #> [1] "2019-01-01 00:00:59.123" "2019-01-01 00:00:59.556"

x <- time_point_round(x, "second") x #> [2]> #> [1] "2019-01-01 00:00:59" "2019-01-01 00:01:00"

as_date_time(x, "America/New_York") #> [1] "2019-01-01 00:00:59 EST" "2019-01-01 00:01:00 EST" ```

clock 0.3.0

clock 0.2.0

clock 0.1.0



Try the clock package in your browser

Any scripts or data that you put into this service are public.

clock documentation built on Sept. 11, 2024, 8:39 p.m.