mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 05:59:21 +03:00
Cleanup locate time handling
This commit is contained in:
parent
fca7e44aa0
commit
b0ed74575f
9 changed files with 58 additions and 71 deletions
|
|
@ -696,7 +696,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
.replace(/\r/g, '')
|
||||
.replace(/\s{1,2}?{{FROM}}/g, '')
|
||||
.replace(/\s{1,2}?{{FROM-FULL}}/g, '')
|
||||
.replace(/{{DATE}}/g, new Date().format('LLLL'))
|
||||
.replace(/{{DATE}}/g, new Date().format({dateStyle: 'full', timeStyle: 'short'}))
|
||||
.replace(/{{TIME}}/g, new Date().format('LT'))
|
||||
.replace(/{{MOMENT:[^}]+}}/g, '');
|
||||
signature.length && editor.setSignature(signature, isHtml, !!identity.signatureInsertBefore());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue