mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-17 21:50:56 +08:00
Beta feedback: mailbox permalink dates are in unix time, not JS time
This commit is contained in:
parent
763232b177
commit
adbae6657c
1 changed files with 2 additions and 1 deletions
|
@ -218,6 +218,7 @@ export class Thread extends ModelWithMetadata {
|
|||
|
||||
getMailboxPermalink() {
|
||||
const subject = encodeURIComponent(this.subject);
|
||||
return `mailspring://thread?subject=${subject}&date=${this.firstMessageTimestamp.getTime()}`;
|
||||
const date = Math.floor(this.firstMessageTimestamp.getTime() / 1000);
|
||||
return `mailspring://thread?subject=${subject}&date=${date}`;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue