Skip to content

Commit cf8eeb6

Browse files
committed
Dynamic copyright year
1 parent b045ea2 commit cf8eeb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/gui/controllers/status_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func (self *StatusController) showDashboard() error {
217217
dashboardString := strings.Join(
218218
[]string{
219219
lazygitTitle(),
220-
"Copyright 2022 Jesse Duffield",
220+
fmt.Sprintf("Copyright %d Jesse Duffield", time.Now().Year()),
221221
fmt.Sprintf("Keybindings: %s", style.AttrUnderline.Sprint(fmt.Sprintf(constants.Links.Docs.Keybindings, versionStr))),
222222
fmt.Sprintf("Config Options: %s", style.AttrUnderline.Sprint(fmt.Sprintf(constants.Links.Docs.Config, versionStr))),
223223
fmt.Sprintf("Tutorial: %s", style.AttrUnderline.Sprint(constants.Links.Docs.Tutorial)),

0 commit comments

Comments
 (0)