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
EXIF_HOUR variable get wrong time zone when importing #5802
Comments
Do you see the same discrepancy in dt image information ? I haven't found any exif summer time flag in exiv2 exif tags. So I assume the time delivered by the camera ("Exif.Image.DateTimeOriginal") should be the season corrected one. |
Not sure what your mean with dt image information, given that it should be different from the Image Information panel i Darktable. |
The time shown in Image Information panel i Darktable is correct, but the EXIF_HOUR variable is wrong (one hour ahead for me). I suspect that either time zone or DST is applied wrongly on EXIF_HOUR. |
I've looked at the code. The source information for datetime in image information and for the variable $(EXIF_HOUR) is the same. I'm afraid I cannot explain the discrepancy you get. |
I'm afraid I need the raw file too. |
It is correct for me also when exporting. The problem occurs when importing. |
Ooops. Let me check again. |
So you get one hour less, I get one hour more. Most likely a time zone issue. |
Could you share the string you use to build the filename please ? |
My mistake. it was not your file. with your file I get 13 too with that string: Back to the correct behavior, isn't ? |
Here is the result of exiv2 against your file. |
I use this file naming pattern: |
Yes, I use import from camera, from a "Mass Storage Camera". |
Is your computer set to CEST time zone? |
Brazilia time zone |
Do you have Daylight Savings Time? I do at the moment. |
No, winter time currently. |
I've followed the full import process. the variable expansion is the same as for exportation. Maybe there is a difference in the way to process this.
That's where I've a doubt. What is "Mass Storage Camera" ? |
Darktable says "Mass Storage Camera" when I connect my camera. I guess it means that it doesn't recognize my particular camera model (and cannot do tethering), and access my camera as a generic USB storage (or maybe PTP/MTP, not sure). |
it means MPT rather than PTP |
I can confirm that this bug is fixed. |
When I use the EXIF_HOUR variable in File Naming Pattern in Session Options, the filename after import from camera is one hour ahead of what I see in the Image Information panel in Darktable.
My main time zone is CET+1, but currently CEST+2 (daylight saving time). My camera is configured with this.
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: