You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
All: Add new date format YYMMDD (#4954)
This commit is contained in:
committed by
GitHub
parent
ce80d7e883
commit
fa6981faa8
@ -131,6 +131,7 @@ class Setting extends BaseModel {
|
||||
public static DATE_FORMAT_5 = 'YYYY-MM-DD';
|
||||
public static DATE_FORMAT_6 = 'DD.MM.YYYY';
|
||||
public static DATE_FORMAT_7 = 'YYYY.MM.DD';
|
||||
public static DATE_FORMAT_8 = 'YYMMDD';
|
||||
|
||||
public static TIME_FORMAT_1 = 'HH:mm';
|
||||
public static TIME_FORMAT_2 = 'h:mm A';
|
||||
@ -562,6 +563,7 @@ class Setting extends BaseModel {
|
||||
options[Setting.DATE_FORMAT_5] = time.formatMsToLocal(now, Setting.DATE_FORMAT_5);
|
||||
options[Setting.DATE_FORMAT_6] = time.formatMsToLocal(now, Setting.DATE_FORMAT_6);
|
||||
options[Setting.DATE_FORMAT_7] = time.formatMsToLocal(now, Setting.DATE_FORMAT_7);
|
||||
options[Setting.DATE_FORMAT_8] = time.formatMsToLocal(now, Setting.DATE_FORMAT_8);
|
||||
return options;
|
||||
},
|
||||
storage: SettingStorage.File,
|
||||
|
Reference in New Issue
Block a user