node build fixed
This commit is contained in:
11
seanime-2.9.10/internal/util/date.go
Normal file
11
seanime-2.9.10/internal/util/date.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package util
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
)
|
||||
|
||||
func TimestampToDateStr(timestamp int64) string {
|
||||
tm := time.Unix(timestamp, 0)
|
||||
return fmt.Sprintf("%v", tm)
|
||||
}
|
||||
Reference in New Issue
Block a user