mirror of
https://github.com/luscis/openlan.git
synced 2025-10-06 00:57:03 +08:00
fix: support list guest and knock
This commit is contained in:
@@ -192,6 +192,10 @@ func IPNetwork(ipAddr string) (string, error) {
|
||||
}
|
||||
}
|
||||
|
||||
func UnixTime(value int64) string {
|
||||
return time.Unix(value, 0).UTC().String()
|
||||
}
|
||||
|
||||
func PrettyTime(t int64) string {
|
||||
s := ""
|
||||
if t < 0 {
|
||||
|
Reference in New Issue
Block a user