mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-13 15:47:17 +03:00
chat/message: Add second resolution
This commit is contained in:
parent
33d0c08ffe
commit
783c607fad
@ -167,7 +167,7 @@ func (theme Theme) Highlight(s string) string {
|
||||
// Timestamp formats and colorizes the timestamp.
|
||||
func (theme Theme) Timestamp(t time.Time) string {
|
||||
// TODO: Change this per-theme? Or config?
|
||||
return theme.sys.Format(t.Format("2006-01-02 15:04 UTC"))
|
||||
return theme.sys.Format(t.Format("2006-01-02 15:04:05 UTC"))
|
||||
}
|
||||
|
||||
// List of initialzied themes
|
||||
|
Loading…
x
Reference in New Issue
Block a user