Skip to content

Commit

Permalink
fix: format time as germans do
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed May 22, 2022
1 parent 253d7c2 commit a8d4edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ui/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var (
func (m model) View() string {
s := header.Render("Hallo!") + "\n\n"
s += "Heute ist " + italic.Render(uhr.Weekday(m.t)) + ".\n"
s += "Es ist jetzt " + italic.Render(m.t.Format("15:04")) + ", aber du kannst auch sagen:\n"
s += "Es ist jetzt " + italic.Render(m.t.Format("15.04")) + ", aber du kannst auch sagen:\n"
for _, l := range uhr.Uhr(m.t) {
s += list.Render("- ") + italic.Render(l) + "\n"
}
Expand Down

0 comments on commit a8d4edd

Please sign in to comment.