parent
338ded7a4e
commit
5057b891c0
|
@ -165,6 +165,9 @@ func (theme Theme) Highlight(s string) string {
|
||||||
|
|
||||||
// Timestamp colorizes the timestamp.
|
// Timestamp colorizes the timestamp.
|
||||||
func (theme Theme) Timestamp(s string) string {
|
func (theme Theme) Timestamp(s string) string {
|
||||||
|
if theme.sys == nil {
|
||||||
|
return s
|
||||||
|
}
|
||||||
return theme.sys.Format(s)
|
return theme.sys.Format(s)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue