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

UTCDate vs NSDate #91

Closed
Hout opened this issue Dec 3, 2015 · 1 comment
Closed

UTCDate vs NSDate #91

Hout opened this issue Dec 3, 2015 · 1 comment
Assignees
Milestone

Comments

@Hout
Copy link
Contributor

Hout commented Dec 3, 2015

SwiftDate contains an NSDate object named UTCDate. The former is the Cocoa class for absolute time. IMHO the UTC naming creates confusion as UTC is not absolute time but a representation of it. The fact that NSDate is internally represented in seconds from 1-Jan-2001 00:00 UTC stands apart from the reasoning above.

I suggest naming the object absoluteTime or even nsDate.

@malcommac
Copy link
Owner

I agree, it's a necessary step to make the lib less confusing

@Hout Hout self-assigned this Dec 13, 2015
@Hout Hout added this to the v2.1 milestone Dec 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants