mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-20 21:27:07 +00:00
Move action: added day placeholder
This commit is contained in:
parent
8f02c27009
commit
c9bf0a966e
2 changed files with 3 additions and 1 deletions
|
@ -658,10 +658,12 @@ public class EntityRule {
|
|||
String year = String.format(Locale.ROOT, "%04d", calendar.get(Calendar.YEAR));
|
||||
String month = String.format(Locale.ROOT, "%02d", calendar.get(Calendar.MONTH) + 1);
|
||||
String week = String.format(Locale.ROOT, "%02d", calendar.get(Calendar.WEEK_OF_YEAR));
|
||||
String day = String.format(Locale.ROOT, "%02d", calendar.get(Calendar.DAY_OF_MONTH));
|
||||
|
||||
create = create.replace("$year$", year);
|
||||
create = create.replace("$month$", month);
|
||||
create = create.replace("$week$", week);
|
||||
create = create.replace("$day$", day);
|
||||
|
||||
String domain = null;
|
||||
if (message.from != null &&
|
||||
|
|
|
@ -856,7 +856,7 @@
|
|||
android:id="@+id/tvMoveCreateRemark"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="$year$ $month$ $domain$"
|
||||
android:text="$year$ $month$ $week$ $day$ $domain$"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||
android:textStyle="italic"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
Loading…
Reference in a new issue