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

TKDateInformation doesn't extract seconds #12

Closed
fesago90 opened this issue Jul 16, 2010 · 1 comment
Closed

TKDateInformation doesn't extract seconds #12

fesago90 opened this issue Jul 16, 2010 · 1 comment

Comments

@fesago90
Copy link

In NSDate+TKCategory.h, under dateInformation, when the NSDateComponents are extracted from the NSDate, the NSSecondCalendarUnit is being neglected. Therefore, TKDateInformation instances will have an invalid seconds member.

Fix: add NSSecondCalendarUnit when components:fromDate is called

@devinross
Copy link
Owner

Thanks!

This issue was closed.
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

2 participants