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

Commit

Permalink
Fix -geotime timezone value
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 a5eb5be commit a5b7f4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exiftool/exiftool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func TestExiftoolOptions(t *testing.T) {
ts := time.Date(2001, 3, 14, 15, 32, 53, 0, tz)
e.GeoTime(ts)
},
expCommand: `"-GeoTime=2001:03:14 15:32:53Z" "test-file-with-geotime"`,
expCommand: `"-GeoTime=2001:03:14 15:32:53+0100" "test-file-with-geotime"`,
},
{
name: "DateTimeDigitized copied from CreateDate",
Expand Down
2 changes: 1 addition & 1 deletion types/timestamp.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package types

const (
// GeoTimeFormat ...
GeoTimeFormat = "2006:01:02 15:04:05Z"
GeoTimeFormat = "2006:01:02 15:04:05-0700"
)

0 comments on commit a5b7f4e

Please sign in to comment.