aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
Diffstat (limited to 'interface')
-rw-r--r--interface/ui.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/interface/ui.go b/interface/ui.go
index 0ddbde7..2d27ea8 100644
--- a/interface/ui.go
+++ b/interface/ui.go
@@ -87,8 +87,9 @@ type MessageMeta interface {
SenderColor() tcell.Color
TextColor() tcell.Color
TimestampColor() tcell.Color
- Timestamp() string
- Date() string
+ Timestamp() time.Time
+ FormatTime() string
+ FormatDate() string
CopyFrom(from MessageMeta)
}