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

NSDate from unixtime in milliseconds does not work #62

Open
ayoze opened this issue Oct 15, 2014 · 0 comments
Open

NSDate from unixtime in milliseconds does not work #62

ayoze opened this issue Oct 15, 2014 · 0 comments

Comments

@ayoze
Copy link

ayoze commented Oct 15, 2014

Hello,

since you are using [NSDate dateWithTimeIntervalSince1970:(NSTimeInterval)] in the DateConverter class, you need to pass this interval in SECONDS, not millis.
Do you prefer to stay with seconds (and change the documentation where you say milliseconds) or /1000 the value? I can send a pull request for the second one.

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

1 participant