mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 18:59:01 +00:00
Fixed auto archive time
This commit is contained in:
parent
83de568b5e
commit
538fc92717
1 changed files with 1 additions and 0 deletions
|
@ -659,6 +659,7 @@ public class EntityRule {
|
|||
|
||||
if (!TextUtils.isEmpty(create)) {
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
calendar.setTimeInMillis(message.received);
|
||||
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));
|
||||
|
|
Loading…
Reference in a new issue