Skip to content

Should pre UNIX epoch fractional dates be supported? #9

@TimTaylor

Description

@TimTaylor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions