We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baac7a6 commit 08e703aCopy full SHA for 08e703a
1 file changed
main.go
@@ -31,8 +31,7 @@ func main() {
31
if *outPutFile {
32
s.logFile, _ = os.OpenFile("results.txt", os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0600)
33
}
34
- location, _ := time.LoadLocation("Asia/Shanghai")
35
- s.Print(fmt.Sprint("Reality TLS Scanner running: ", *addrPtr, ":", *portPtr, " start scan at : ", time.Now().In(location).String()))
+ s.Print(fmt.Sprint("Reality TLS Scanner running: ", *addrPtr, ":", *portPtr, " start scan at : ", time.Now().Format(time.RFC3339)))
36
defer s.logFile.Close()
37
s.Run()
38
0 commit comments