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

Command --get-all-files with --filename=%Y%m%d%H%M.jpg returns a datetime that is 3 hours later than system time #634

Open
ioulosve opened this issue May 29, 2024 · 0 comments

Comments

@ioulosve
Copy link

Hello, I'm trying to investigate this problem.

I have a Canon EOS 1200D connected to a raspberry and set up to take a picture every hour.
The raspberry time is set to UTC and I'm saving the pictures on the SD card with the following command:

gphoto2 --filename=%Y%m%d%H%M.jpg --get-all-files --skip-existing

The pictures are saved correcly but the resulting filename is always 3 hours more than raspberry time. For example, if the picture is taken at Wed May 29 09:33:19 UTC 2024, the filename is 202405291233.jpg.

My question is, where do gphoto2 takes the time information? Does it take it from the camera? How do I fix this issue?

Thank you

@ioulosve ioulosve changed the title Command --get-all-files with --filename=%Y%m%d%H%M.jpg return a datetime that is 3 hours later than system time Command --get-all-files with --filename=%Y%m%d%H%M.jpg returns a datetime that is 3 hours later than system time May 29, 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

No branches or pull requests

1 participant