mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-19 16:19:33 +01:00
Adjust SMS phases and show Phase 3 start date.
This commit is contained in:
committed by
Alex Hart
parent
9b08ebcc1d
commit
1f31f4a50a
@@ -259,6 +259,10 @@ public class DateUtils extends android.text.format.DateUtils {
|
||||
return getFormattedDateTime(timestamp, "EEE, MMM d, yyyy", locale);
|
||||
}
|
||||
|
||||
public static String formatDateWithMonthAndDay(@NonNull Locale locale, long timestamp) {
|
||||
return getFormattedDateTime(timestamp, "MMMM dd", locale);
|
||||
}
|
||||
|
||||
public static String formatDateWithoutDayOfWeek(@NonNull Locale locale, long timestamp) {
|
||||
return getFormattedDateTime(timestamp, "MMM d yyyy", locale);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user