Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Systemd box not correctly showing original exif picture time
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
urcindalo
Guru
Guru


Joined: 08 Feb 2005
Posts: 590
Location: Almeria, Spain

PostPosted: Sat Apr 01, 2017 10:59 am    Post subject: Systemd box not correctly showing original exif picture time Reply with quote

Hi and thanks for reading this!

I run a stable amd64 box with systemd instead of openrc. As advised by systemd itself, my hardware clock is set up to UTC:
Code:
$ timedatectl
      Local time: sáb 2017-04-01 12:24:15 CEST
  Universal time: sáb 2017-04-01 10:24:15 UTC
        RTC time: sáb 2017-04-01 10:24:13
       Time zone: Europe/Madrid (CEST, +0200)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no


My DSLR is correctly set up to current local date and time (Central European Time, or UTC+2:00). Yesternight I shot the sky and the last photo was taken at ~23:29 local time (21:29 UTC + 2:00). Gwenview correctly reads the original date is 23:29 from EXIF data, but both Dolphin and Konsole show the date as if the picture were taken two hours later, i.e., next day at 01:29:
Code:
-rw-r--r-- 1 user user  8385454 abr  1 01:29 P3310855.JPG


Why is that? What config should I check? I'm clueless.

Thanks again.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Sat Apr 01, 2017 11:21 pm    Post subject: Reply with quote

I highly doubt this is a systemd issue and likely would happen with openrc as well.

What are you using to copy the files from the camera to the computer - is it a PTP/MTP or mass-storage, I'm not familiar with gwenview.

If you pull the media (likely FAT16/FAT32 which has no idea about timezone) from the camera and stick it into a discrete cardreader, you should see the date that most copy programs will use. Most programs do not timestamp the file with the EXIF time, only the filesystem time...

Historically FAT16/FAT32 times are always localtime unless you use otherwise - matching what DOS machines used in the past. However a lot of hardware play fast and loose with these timestamps so they're not really standardized anymore...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum