Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Commit

Permalink
Fix timezone override by flags
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Shishkin <[email protected]>
  • Loading branch information
teran committed Jan 7, 2020
1 parent c1910c1 commit 88cddfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func NewFlags(binary, version, timestamp string) types.Flags {
flag.StringVar(&f.serialNumber, "serial-number", "", "SerialNumber tag value. NOTE: it will overwrite the value set by your film scanner software")
flag.BoolVar(&f.setDigitized, "set-digitized", false, "set DateTimeDigitized from CreateDate field")
flag.Var(&f.timestampFormat, "timestamp-format", "the timestamp format in the locale your're using on the system with ES-E1 software. Allowed values: 'US', 'EU'")
flag.StringVar(&f.timezone, "timezone", "UTC", "location or timezone name used while setting time on EOS 1V, will be used for proper scans timestamping (example: 'Europe/Moscow')")
flag.StringVar(&f.timezone, "timezone", "", "location or timezone name used while setting time on EOS 1V, will be used for proper scans timestamping (example: 'Europe/Moscow'; default: 'UTC')")
flag.BoolVar(&f.displayVersion, "version", false, "show program version")

flag.Parse()
Expand Down

0 comments on commit 88cddfc

Please sign in to comment.