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

Difference in datetime_original between view and controller? #10

Closed
Jpunt opened this issue May 22, 2010 · 2 comments
Closed

Difference in datetime_original between view and controller? #10

Jpunt opened this issue May 22, 2010 · 2 comments

Comments

@Jpunt
Copy link

Jpunt commented May 22, 2010

Hey there,

When I extract the shot-time/date in a view, it's correct. But when I do exactly the same thing inside a controller it's 2 hours too early. What could be the cause of this?

Thanks,
J.

@remvee
Copy link
Owner

remvee commented May 23, 2010

Probably a timezone issue; exif does not contain tz information and rails (?) tries to be smart about it (most likely guessing exifr came up with a gmt timestamp).

@Jpunt
Copy link
Author

Jpunt commented May 26, 2010

Thanks for the info, i'll compensate it with advance() for now.

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