ymd icon indicating copy to clipboard operation
ymd copied to clipboard

Should pre UNIX epoch fractional dates be supported?

Open TimTaylor opened this issue 8 months ago • 0 comments

Currently this does not seem to work

(x <- .Date(0) - 1.5)
#> [1] "1969-12-30"

# correct
as.POSIXlt(x)$mday
#> [1] 30

# wrong
ymd::mday(x)
#> [1] 31

Created on 2025-04-24 with reprex v2.1.1

TimTaylor avatar Apr 24 '25 12:04 TimTaylor