Skip to content

Fix and test the TimeValue.pad() function #67

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

Merged
merged 2 commits into from
Mar 17, 2015
Merged

Fix and test the TimeValue.pad() function #67

merged 2 commits into from
Mar 17, 2015

Conversation

thiemowmde
Copy link
Contributor

Resubmission of #59.

Bug: T66084

@Jc3s5h
Copy link

Jc3s5h commented Mar 16, 2015

I admit I don't know the full context in which this function is used, but it appears it would not work properly for negative years.

@thiemowmde
Copy link
Contributor Author

The function removes the sign from negative years, which is intended. I will add test cases for negative years. Thank you for the very helpful hint.

adrianheine added a commit that referenced this pull request Mar 17, 2015
Fix and test the TimeValue.pad() function
@adrianheine adrianheine merged commit 02b1951 into master Mar 17, 2015
@adrianheine adrianheine deleted the pad branch March 17, 2015 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants