Skip to content

Commit

Permalink
Updated help text for --timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
RhetTbull committed Oct 30, 2024
1 parent f6884dc commit 13b31e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions osxphotos/cli/timewarp.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,17 +223,17 @@ def get_help(self, ctx):
metavar="TIMEZONE",
type=TimezoneOffset(),
help="Set timezone for selected photos as offset from UTC or to named IANA timezone. "
"Format is one of '±HH:MM', '±H:MM', '±HHMM', or named timezone such as 'America/Los_Angeles'. "
"Format is one of '±HH:MM', '±H:MM', '±HHMM', or named timezone such as 'America/Los_Angeles' or 'PST'. "
"The actual time of the photo is not adjusted which means, somewhat counterintuitively, "
"that the time in the new timezone will be different. "
"For example, if photo has time of 12:00 and timezone of GMT+01:00 and new timezone is specified as "
"'--timezone +02:00' (one hour ahead of current GMT+01:00 timezone), the photo's new time will be 13:00 GMT+02:00, "
"which is equivalent to the old time of 12:00+01:00. "
"This is the same behavior exhibited by Photos when manually adjusting timezone in the Get Info window. "
"See also --match-time which adjusts the time when adjusting the timezone. "
"Note: when a named timezone is provided, daylight savings time will be considered when adjusting the time; "
"it will not be considered when a UTC offset is provided. "
"For list of valid IANA timezone names, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones "
"See also --match-time. ",
"For list of valid IANA timezone names, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones ",
)
@click.option(
"--date-added",
Expand Down

0 comments on commit 13b31e1

Please sign in to comment.