mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Use Intl.DateTimeFormat instead of momentjs where we can
Need to solve the Intl.RelativeTimeFormat to drop momentjs
This commit is contained in:
parent
a177081224
commit
6f585e1f1d
5 changed files with 115 additions and 214 deletions
|
|
@ -31,12 +31,8 @@ class SettingsUserScreen extends AbstractSettingsScreen {
|
|||
super([SystemDropDownSettingsUserView, MenuSettingsUserView, PaneSettingsUserView]);
|
||||
|
||||
initOnStartOrLangChange(
|
||||
() => {
|
||||
this.sSettingsTitle = i18n('TITLES/SETTINGS');
|
||||
},
|
||||
() => {
|
||||
this.setSettingsTitle();
|
||||
}
|
||||
() => this.sSettingsTitle = i18n('TITLES/SETTINGS'),
|
||||
() => this.setSettingsTitle()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue