Skip to content

Added leading zero for "9" minutes and seconds#9

Merged
kevinkhill merged 1 commit intokevinkhill:masterfrom
AntonLazarev:leading_zero
Sep 9, 2017
Merged

Added leading zero for "9" minutes and seconds#9
kevinkhill merged 1 commit intokevinkhill:masterfrom
AntonLazarev:leading_zero

Conversation

@AntonLazarev
Copy link
Copy Markdown
Contributor

Hello, Kevin!

I have fixed a bug in "formatted" method with missed leading zero for values "9" of minutes and seconds where hours or minutes exists accordingly.

Before that fix PHPUnit throwed failure on values "1:09" and "1:09:00", now it passes tests normally.

image

image

image

@coveralls
Copy link
Copy Markdown

coveralls commented Sep 8, 2017

Coverage Status

Coverage remained the same at 97.541% when pulling b2b284c on AntonLazarev:leading_zero into 39a5cb1 on kevinkhill:master.

@kevinkhill kevinkhill merged commit 10b170d into kevinkhill:master Sep 9, 2017
@kevinkhill
Copy link
Copy Markdown
Owner

Thank you! I didn't even realize I was missing some edge cases.

I also don't know what is wrong with Travis, so thank you for the screenshots.

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.

3 participants