6/30/2023 0 Comments Docker utc time zone![]() Seems like a make/model/mimetype list would be the most accurate, but would require cataloging the various makes/models. I’m not the best with exif data and I know different manufacturers will leverage fields differently. I don’t know if this value is specific to iPhone videos, but looking at the full exif data there is a field “Creation Date” that has the right offset. The capture time is correct when viewing in Photos or on the phone, so I’m guessing they’re looking at some value in the exifdata to calculate the local capture time. To set correct system timezone on Ubuntu 18.04 or 20.04 base image, it should use following Dockerfile: FROM ubuntu:18. Uri: 'pslib:/video-main/2021/2021-11/2021-11-iPhone%2011%20Pro%20Max/IMG_3481.MOV'ĭoing a spot check of my videos across a few iPhone models, yes - it looks like they’re all off by 5 hours. The mimetype is video/quicktime [ĭimensions: The default system time of containers in TKE clusters is Universal Time Coordinated (UTC), which may be different with the local time zone of your nodes. ![]() If you’re using the UnRAID template, TZ should already be something that you can configure. I’ve just updated the docker and docker-compose instructions to include TZ properly. ps/app $ node -e "console.log(new Date().toString())" (I’m the author of exiftool-vendored, btw).įor the second bit, (rendering times in the local TZ), it turns out that node doesn’t need tzdata, just TZ to be set: $ docker exec -it photostructure sh ![]() Viewing available time zones To see all available time zones, run bundle exec rake time:zones:all. ![]() Rendering times relative to the current timezone (which relies on a properly set TZ or /etc/timezoneįor the first bit, when extracting captured-at times, PhotoStructure tries to avoid any assumptions about the current timezone: it’s frequently not set to the current location’s timezone (or at least set to Etc/UTC), so I wrote a bunch of heuristics that PhotoStructure uses to try to find the correct zone for every file. all tiers self-managed The global time zone configuration parameter can be changed in config/gitlab.yml: timezone: 'UTC' Uncomment and customize if you want to change the default time zone of the GitLab application. Extracting time zones from your photos and videos correctly. ![]()
0 Comments
Leave a Reply. |