]> code.octet-stream.net Git - broadcaster/blobdiff - internal/protocol/protocol.go
Handle timestamps with no seconds cleanly
[broadcaster] / internal / protocol / protocol.go
index 7b0a1197ffd461f7561c7648696b67e9c813fabd..f8b420be7193a78b4796f22297d64a196b439812 100644 (file)
@@ -7,8 +7,9 @@ import (
 )
 
 const (
-       StartTimeFormat = "2006-01-02T15:04:05"
-       LocalTimeFormat = "Mon _2 Jan 2006 15:04:05"
+       StartTimeFormat     = "2006-01-02T15:04"
+       StartTimeFormatSecs = "2006-01-02T15:04:05"
+       LocalTimeFormat     = "Mon _2 Jan 2006 15:04:05"
 
        // Radio to server