mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Add hint that messages must be regularly received
This commit is contained in:
parent
2a0bba62be
commit
cfc818872f
4 changed files with 31 additions and 1 deletions
|
@ -14,7 +14,7 @@ public class DateUtils {
|
|||
|
||||
public static String formatTimestamp(long timestamp) {
|
||||
var date = new Date(timestamp);
|
||||
final DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSX"); // Quoted "Z" to indicate UTC, no timezone offset
|
||||
final DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSX");
|
||||
df.setTimeZone(tzUTC);
|
||||
return timestamp + " (" + df.format(date) + ")";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue