Skip to content

confusing dateAtStartOfMonth and dateAtEndOfMonth #21

@azu

Description

@azu

dateAtStartOfMonth means 1st day of the month.
It is not 00:00 of 1st day, but hard to know intuitively.

We imagine following action about dateAtStartOfMonth.

NSDate *startOfMonth = [[date dateAtStartOfMonth] dateAtStartOfDay];

Therefore, I would be better off [[date dateAtStartOfMonth] dateAtStartOfDay] as dateAtStartOfMonth.

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