mirror of
https://github.com/dsoprea/go-exif.git
synced 2025-04-28 13:51:38 +00:00
utility.go: Added function comment. Formatted file.
This commit is contained in:
parent
eb7eb2b610
commit
8d79b03fc5
@ -1,10 +1,10 @@
|
|||||||
package exif
|
package exif
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"bytes"
|
"bytes"
|
||||||
"strings"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/dsoprea/go-logging"
|
"github.com/dsoprea/go-logging"
|
||||||
@ -67,6 +67,7 @@ func DumpBytesClauseToString(data []byte) string {
|
|||||||
return b.String()
|
return b.String()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ParseExifFullTimestamp parses dates like "2018:11:30 13:01:49".
|
||||||
func ParseExifFullTimestamp(fullTimestampPhrase string) (timestamp time.Time, err error) {
|
func ParseExifFullTimestamp(fullTimestampPhrase string) (timestamp time.Time, err error) {
|
||||||
defer func() {
|
defer func() {
|
||||||
if state := recover(); state != nil {
|
if state := recover(); state != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user