|
@@ -5,6 +5,7 @@ package irc
|
5
|
5
|
|
6
|
6
|
import (
|
7
|
7
|
"fmt"
|
|
8
|
+ "time"
|
8
|
9
|
|
9
|
10
|
"github.com/goshuirc/irc-go/ircfmt"
|
10
|
11
|
|
|
@@ -612,7 +613,7 @@ func nsSessionsHandler(server *Server, client *Client, command string, params []
|
612
|
613
|
}
|
613
|
614
|
nsNotice(rb, fmt.Sprintf(client.t("IP address: %s"), session.ip.String()))
|
614
|
615
|
nsNotice(rb, fmt.Sprintf(client.t("Hostname: %s"), session.hostname))
|
615
|
|
- nsNotice(rb, fmt.Sprintf(client.t("Created at: %s"), session.ctime.Format(IRCv3TimestampFormat)))
|
616
|
|
- nsNotice(rb, fmt.Sprintf(client.t("Last active: %s"), session.atime.Format(IRCv3TimestampFormat)))
|
|
616
|
+ nsNotice(rb, fmt.Sprintf(client.t("Created at: %s"), session.ctime.Format(time.RFC1123)))
|
|
617
|
+ nsNotice(rb, fmt.Sprintf(client.t("Last active: %s"), session.atime.Format(time.RFC1123)))
|
617
|
618
|
}
|
618
|
619
|
}
|