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

make hours return as 24h format for more clarity. #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chadmpaul
Copy link

changing the hours part to 24 hour otherwise hour() might not return the right answer w/o the am/pm context

for example

foo.hour(18);

foo.hour() // 6 because h. So that could be either 6am or 6pm

@chadmpaul chadmpaul changed the title make hours return as 24h format for more clarity. Feb 15, 2022
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