constructive icon indicating copy to clipboard operation
constructive copied to clipboard

issue with POSIXct precision

Open moodymudskipper opened this issue 1 year ago • 0 comments

x <- structure(1721654722.868974, class = c("POSIXct", "POSIXt"), tzone = "UTC")
constructive::construct(x)
#> {constructive} couldn't create code that reproduces perfectly the input
#> ℹ Call `construct_issues()` to inspect the last issues
#> as.POSIXct("2024-07-22 13:25:22.86897", tz = "UTC")
constructive::construct_issues()
#>  `unclass(original)`: 1721654722.868974
#> `unclass(recreated)`: 1721654722.868970

Created on 2024-07-24 with reprex v2.1.0

moodymudskipper avatar Jul 24 '24 12:07 moodymudskipper