Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider renaming Day to Date or NaiveDate in a future version #37

Open
sporto opened this issue Oct 11, 2024 · 0 comments
Open

Consider renaming Day to Date or NaiveDate in a future version #37

sporto opened this issue Oct 11, 2024 · 0 comments

Comments

@sporto
Copy link

sporto commented Oct 11, 2024

I find it odd referring to something like 2010-10-01 as a Day
In most libs / languages this is know as a Date or NaiveDate

e.g.
https://docs.rs/chrono/latest/chrono/naive/struct.NaiveDate.html
https://ruby-doc.org/stdlib-2.5.1/libdoc/date/rdoc/Date.html
https://www.postgresql.org/docs/current/datatype-datetime.html
https://hexdocs.pm/elixir/1.12/Date.html

The internal representation can be different, but a Date usually refers to the combination of year-month-day

For your consideration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant