Appends an item to the date / time dropdown of the custom stamp dialog (dayjs tokens; date and time are joined by a space, time first when timeFirst). Ignored with console.error when it is not an object or has neither key.
{ date?, time?, timeFirst? }.
{ date?, time?, timeFirst? }
Optional
Date format, such as 'YYYY-MM-DD'.
'YYYY-MM-DD'
Time format, such as 'HH:mm'.
'HH:mm'
When true, the time is shown before the date.
instance.UI.addDateTimeFormat({ date: 'YYYY-MM-DD', time: 'HH:mm' }); Copy
instance.UI.addDateTimeFormat({ date: 'YYYY-MM-DD', time: 'HH:mm' });
Appends an item to the date / time dropdown of the custom stamp dialog (dayjs tokens; date and time are joined by a space, time first when timeFirst). Ignored with console.error when it is not an object or has neither key.