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

Time fixes #2117

Closed
wants to merge 5 commits into from
Closed

Time fixes #2117

wants to merge 5 commits into from

Conversation

graydon
Copy link
Contributor

@graydon graydon commented Apr 3, 2012

Here's a tidied up (and, hopefully, working) version of @erickt's most recent strptime hacking. Parking here since I can't figure out a more useful way to make a pull req against his repo (it's several days out of date).

The bug had to do with i64 padding in structs. We're just doing it wrong on i686. Bug #2064 again.

erickt added 5 commits April 2, 2012 19:23
It's possible to have negative times if expressing time before 1970, so
we should use signed types. Other platforms can return times at a higher
resolution, so we should use 64 bits.
@graydon
Copy link
Contributor Author

graydon commented Apr 3, 2012

(oh, I rebase -i squashed all the wip commits together. Hope that's ok.

@erickt
Copy link
Contributor

erickt commented Apr 4, 2012

Thanks Graydon! I'm going to close this request because I have a couple other bug fixes, so I'll open a new pull request for that.

@erickt erickt closed this Apr 4, 2012
celinval pushed a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
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.

2 participants