pleroma-fe/src/components/settings_modal
tusooa b14ba17256
Support displaying time in absolute format
This adds two config items: useAbsoluteTimeFormat (boolean) and
absoluteTimeFormatMinAge (string, number + unit ('d'|'h'|'m'|'s')).

When `useAbsoluteTimeFormat` is true, the Timeago component will display
absolute time if the time is at least `absoluteTimeFormatMinAge`
from now. If `longFormat` prop is true, the fully formatted time
is displayed. Otherwise, the format is determined by the `time` prop:
(1) if `time` is on the same day of now, display hour and minute;
(2) if `time` is in the same month of now, display day and hour;
(3) if `time` is in the same year of now, display month and day;
(4) otherwise, display year and month.

If it should display relative time, the format is the same as before.
2024-09-17 19:18:51 -04:00
..
admin_tabs lint 2024-03-07 00:38:19 +02:00
helpers spacing for number setting as well 2024-07-23 21:52:01 +03:00
tabs Support displaying time in absolute format 2024-09-17 19:18:51 -04:00
settings_modal.js initial Appearance Tab implementation, added text size/UI scale option 2024-05-22 19:54:19 +03:00
settings_modal.scss remove all "fallback variables" 2024-03-04 19:45:42 +02:00
settings_modal.vue initial Appearance Tab implementation, added text size/UI scale option 2024-05-22 19:54:19 +03:00
settings_modal_admin_content.js Initial incomplete admin emoji settings implementation 2023-12-21 00:18:02 +03:00
settings_modal_admin_content.scss refactor sizesetting into unitsetting allowing more unit types with i18n support 2024-04-24 15:58:26 +03:00
settings_modal_admin_content.vue Editing emojis in popover, pack creation/deletion 2024-01-07 02:45:49 +03:00
settings_modal_user_content.js update icon 2024-07-21 23:53:24 +03:00
settings_modal_user_content.scss refactor sizesetting into unitsetting allowing more unit types with i18n support 2024-04-24 15:58:26 +03:00
settings_modal_user_content.vue rearrange tabs 2024-07-24 16:02:18 +03:00