mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-10 11:10:17 +08:00
update format
This commit is contained in:
@@ -16,10 +16,6 @@ func date(t time.Time) string {
|
||||
return t.Format("Mon Jan 2 15:04:05")
|
||||
}
|
||||
|
||||
func now() string {
|
||||
return time.Now().Format("2006-01-02 15:04:05")
|
||||
}
|
||||
|
||||
func duration(start, end time.Time) string {
|
||||
var t time.Duration
|
||||
if end.IsZero() {
|
||||
|
Reference in New Issue
Block a user