renaming photos to capture date/time

I have been using script from léonie (Script: Batch Changing the Title to the C… - Apple Community) to change the iPhone photo title to the capture date successfully until now. After returning from Thailand, which is 13 hrs ahead of U.S. CST, the script renamed the iPhone photos NOT to the time taken in Thailand, but to the corresponding time in the US (CST), even though the correct (Thailand) time is noted in the info field of each photo (see example below). I am using the Mac Photos app in macOS Sequoia 15.1.1. Any ideas as to how to rename the photos to the date/time taken in the foreign country, and NOT to the date/time in my home country?



Mac Studio (2022)

Posted on Nov 29, 2024 10:01 AM

Reply

Similar questions

5 replies

Nov 29, 2024 10:59 PM in response to mike4matt

I am glad you got it working.


I did not suggest adjusting the times because they seemed to be correct.


It is possible to add time zone to the Photos Info dialog so the user can better see what is going on. Older macOS had a GUI for this but it can be enabled in macOS 13-15 Ventura-Sequoia Photos.app via the Terminal with (re-launch Photos so it takes effect):


defaults write NSGlobalDomain AppleICUTimeFormatStrings -dict-add "2" "HH:mm:ss z"


...and reverted to the default time zone-less display with:


defaults delete NSGlobalDomain AppleICUTimeFormatStrings


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

renaming photos to capture date/time

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.