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

Explain more clearly that days of the month are not padded by default #29

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sergioregueira
Copy link
Contributor

I have improved the README.md file to explain better that hours and days of the month are not padded by default. Since documentation uses 24th and there is a note about padding only for months, some users may think the rest of the components are padded automatically.

In addition, I have added some unit tests to verify that the days of the month are properly padded in index.spec.js. My initial intention was to avoid changes in the rest of the file, but I thought that keeping a single date for all the tests as you were doing was more appropriate, so I have changed the day of the month and updated the unit tests accordingly.

By the way, thank you for this library; it is very useful for the projects I work on.

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

Successfully merging this pull request may close these issues.

1 participant