You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all - thank you for this fine piece of code, it helps me a lot in setting up an own Firebase chatting app.
When testing your code I found a typo in FirebaseUtils.java:
In timestampToString you are formatting a timestamp to a short string with an "oneliner": return new SimpleDateFormat("HH:MM").format(timestamp.toDate());
but this will return the hour and Month of the timestamp. Better use this: return new SimpleDateFormat("HH:mm").format(timestamp.toDate());
to return the hour and minute of the timestamp.
Activity