mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-25 07:33:07 +01:00
More work to support nullable foreign keys
Adds nullable int/uint types
This commit is contained in:
14 files changed
+387
-256
No files matched your search
@@ -0,0 +1,9 @@
|
||||
package util
|
||||
|
||||
import "time"
|
||||
|
||||
// UnixMilliToNiceFormat converts a millisecond to nice string
|
||||
func UnixMilliToNiceFormat(milli int64) string {
|
||||
t := time.Unix(0, milli*int64(time.Millisecond))
|
||||
return t.Format("2006-01-02 15:04:05")
|
||||
}
|
||||
Reference in new issue
Block a user