mirror of
https://github.com/stashapp/stash.git
synced 2026-01-06 05:39:37 -06:00
Print githash and build time at startup
This commit is contained in:
12
scripts/getDate.go
Normal file
12
scripts/getDate.go
Normal file
@@ -0,0 +1,12 @@
|
||||
// +build ignore
|
||||
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
import "time"
|
||||
|
||||
func main() {
|
||||
now := time.Now().Format("2006-01-02 15:04:05")
|
||||
|
||||
fmt.Printf("%s", now)
|
||||
}
|
||||
Reference in New Issue
Block a user