Merge pull request #833 from thatdevsherry/fix/trash-items-future-date
fix: prevent showing future date in trash items
This commit is contained in:
commit
a4014713b4
1 changed files with 1 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ impl FormatTime {
|
|||
.ok()
|
||||
.and_then(|now_secs| now_secs.checked_sub(secs))
|
||||
.map(Duration::from_secs)?;
|
||||
now.checked_add(filetime_diff).map(|time| Self {
|
||||
now.checked_sub(filetime_diff).map(|time| Self {
|
||||
time,
|
||||
military_time,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue