Skip to content

Commit

Permalink
autogenerate year when printing remoteAudio version
Browse files Browse the repository at this point in the history
  • Loading branch information
dh1tw committed Jan 28, 2024
1 parent 29928cc commit fafc017
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func init() {

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

0 comments on commit fafc017

Please sign in to comment.