aboutsummaryrefslogtreecommitdiff
path: root/telegram
diff options
context:
space:
mode:
authorbodqhrohro <bodqhrohro@gmail.com>2019-12-01 16:12:15 +0300
committerbodqhrohro <bodqhrohro@gmail.com>2019-12-01 16:12:15 +0300
commit1568e291567c2696680b23f5faf623f1d3868728 (patch)
treedb4126fec62200aaeeb002fcd4a187e4eb4fe8cc /telegram
parent7030ec0f1ba8eb97da2b17a19594dd2e4c568e1c (diff)
Fix last-seen-at format
Diffstat (limited to 'telegram')
-rw-r--r--telegram/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram/utils.go b/telegram/utils.go
index 172bc38..0ae4b45 100644
--- a/telegram/utils.go
+++ b/telegram/utils.go
@@ -107,7 +107,7 @@ func userStatusToText(status client.UserStatus) (string, string) {
show = "xa"
}
// TODO: timezone
- textStatus = time.Unix(int64(offlineStatus.WasOnline), 0).Format("Last seen at 15:03 02/01/2006")
+ textStatus = time.Unix(int64(offlineStatus.WasOnline), 0).Format("Last seen at 15:04 02/01/2006")
}
return show, textStatus