mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-27 10:32:58 +02:00
Common EU Date format DD.MM.YYYY added, issue #405
This commit is contained in:
parent
4ce2b2c948
commit
96571baadc
@ -43,6 +43,7 @@ class Setting extends BaseModel {
|
||||
options[Setting.DATE_FORMAT_3] = time.formatMsToLocal(now, Setting.DATE_FORMAT_3);
|
||||
options[Setting.DATE_FORMAT_4] = time.formatMsToLocal(now, Setting.DATE_FORMAT_4);
|
||||
options[Setting.DATE_FORMAT_5] = time.formatMsToLocal(now, Setting.DATE_FORMAT_5);
|
||||
options[Setting.DATE_FORMAT_6] = time.formatMsToLocal(now, Setting.DATE_FORMAT_6);
|
||||
return options;
|
||||
}},
|
||||
'timeFormat': { value: Setting.TIME_FORMAT_1, type: Setting.TYPE_STRING, isEnum: true, public: true, label: () => _('Time format'), options: () => {
|
||||
@ -533,6 +534,7 @@ Setting.DATE_FORMAT_2 = 'DD/MM/YY';
|
||||
Setting.DATE_FORMAT_3 = 'MM/DD/YYYY';
|
||||
Setting.DATE_FORMAT_4 = 'MM/DD/YY';
|
||||
Setting.DATE_FORMAT_5 = 'YYYY-MM-DD';
|
||||
Setting.DATE_FORMAT_6 = 'DD.MM.YYYY';
|
||||
|
||||
Setting.TIME_FORMAT_1 = 'HH:mm';
|
||||
Setting.TIME_FORMAT_2 = 'h:mm A';
|
||||
|
Loading…
Reference in New Issue
Block a user