Skip to content

Commit

Permalink
autogenerate the copyright year
Browse files Browse the repository at this point in the history
  • Loading branch information
dh1tw committed Jan 28, 2024
1 parent 7af858d commit 10e4844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func init() {

func printVersion() {
buildDate := time.Now().Format(time.RFC3339)
fmt.Println("copyright Tobias Wellnitz, DH1TW, 2020")
fmt.Printf("copyright Tobias Wellnitz, DH1TW (%d)\n", time.Now().Year())
fmt.Printf("remoteRotator Version: %s, %s/%s, BuildDate: %s, Commit: %s\n",
version, runtime.GOOS, runtime.GOARCH, buildDate, commitHash)
}

0 comments on commit 10e4844

Please sign in to comment.