user config: add date format #307

This commit is contained in:
end-4
2024-03-06 15:33:03 +07:00
parent 239231b5cf
commit 2ffd02f739
4 changed files with 10 additions and 7 deletions
@@ -222,7 +222,7 @@ export default ({
else if (messageTime.get_day_of_year() == GLib.DateTime.new_now_local().get_day_of_year() - 1)
notifTime = 'Yesterday';
else
notifTime = messageTime.format('%d/%m');
notifTime = messageTime.format(userOptions.time.dateFormat);
const notifTextSummary = Label({
xalign: 0,
className: 'txt-small txt-semibold titlefont',