mirror of
https://github.com/kerberos-io/onvif.git
synced 2026-08-23 15:08:33 +00:00
style(event/stream): gofmt decode.go layout table alignment
This commit is contained in:
@@ -109,8 +109,8 @@ func parseDeviceTime(s string) time.Time {
|
||||
// firmwares. Ordered from most-precise / most-common first so the
|
||||
// happy path hits early.
|
||||
var deviceTimeLayouts = []string{
|
||||
time.RFC3339Nano, // 2026-05-21T10:30:00.500Z, ...+02:00
|
||||
time.RFC3339, // 2026-05-21T10:30:00Z, ...+02:00
|
||||
time.RFC3339Nano, // 2026-05-21T10:30:00.500Z, ...+02:00
|
||||
time.RFC3339, // 2026-05-21T10:30:00Z, ...+02:00
|
||||
"2006-01-02T15:04:05.999-0700", // sub-second + compact offset (Geovision)
|
||||
"2006-01-02T15:04:05-0700", // compact offset (some Dahua)
|
||||
"2006-01-02T15:04:05.999", // no timezone, sub-second (rare)
|
||||
|
||||
Reference in New Issue
Block a user