Skip to content

Should ymd() and similar return a date? #391

@hadley

Description

@hadley

Currently, ymd() returns a POSIXct, which forces you to think about time zones. It seems like a reasonable principle to return a date in any situation where the time doesn't matter (this might include certain round_date() options).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions