Update KeepMessageDuration for 1 year to 366 days.
This allows you to see messages that are exactly one year old (like birthday wishes) as well as accounts for leap year. Resolves #13889
This commit is contained in:
parent
e969661699
commit
2a2a6e6a0d
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ import java.util.concurrent.TimeUnit;
|
|||
|
||||
public enum KeepMessagesDuration {
|
||||
FOREVER(0, R.string.preferences_storage__forever, Long.MAX_VALUE),
|
||||
ONE_YEAR(1, R.string.preferences_storage__one_year, TimeUnit.DAYS.toMillis(365)),
|
||||
ONE_YEAR(1, R.string.preferences_storage__one_year, TimeUnit.DAYS.toMillis(366)),
|
||||
SIX_MONTHS(2, R.string.preferences_storage__six_months, TimeUnit.DAYS.toMillis(183)),
|
||||
THIRTY_DAYS(3, R.string.preferences_storage__thirty_days, TimeUnit.DAYS.toMillis(30));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue