diff --git a/lockserver/lockserver.go b/lockserver/lockserver.go index a57f605..4c6b742 100644 --- a/lockserver/lockserver.go +++ b/lockserver/lockserver.go @@ -200,7 +200,7 @@ func (lock *OmniLockServer) LockSequence(conn net.Conn) error { func (lock *OmniLockServer) linkStart(conn net.Conn) (string, error) { const funcName = "OmniLockServer.linkStart" // Send the link start command - payload := fmt.Sprintf("LS|DA%s|TI%s|", time.Now().Format("150405"), time.Now().Format("150405")) + payload := fmt.Sprintf("LS|DA%s|TI%s|", time.Now().Format("020106"), time.Now().Format("150405")) command := append([]byte{0x02}, append([]byte(payload), 0x03)...) raw, err := sendAndReceive(conn, command) diff --git a/main.go b/main.go index adf1b47..f130851 100644 --- a/main.go +++ b/main.go @@ -24,7 +24,7 @@ import ( ) const ( - buildVersion = "0.9.1" + buildVersion = "0.9.2" serviceName = "hardlink" customLayout = "2006-01-02 15:04:05 -0700" )