mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03: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