IBX-12195: Added global JS time diff mechanism - #1992
Merged
Conversation
ibexa-workflow-automation-1
Bot
requested review from
GrabowskiM,
OstafinL,
alekmick,
dew326 and
tischsoic
and removed request for
a team
August 4, 2026 13:48
albozek
force-pushed
the
IBX-12195-js-time-diff
branch
2 times, most recently
from
August 13, 2026 09:46
f6ca317 to
cbfef2b
Compare
GrabowskiM
requested changes
Aug 17, 2026
albozek
force-pushed
the
IBX-12195-js-time-diff
branch
from
August 18, 2026 10:12
24f2f17 to
7cfe1df
Compare
albozek
force-pushed
the
IBX-12195-js-time-diff
branch
from
August 18, 2026 10:47
7cfe1df to
086742c
Compare
albozek
force-pushed
the
IBX-12195-js-time-diff
branch
from
August 18, 2026 10:56
086742c to
ecf2468
Compare
GrabowskiM
approved these changes
Aug 18, 2026
albozek
force-pushed
the
IBX-12195-js-time-diff
branch
from
August 21, 2026 10:40
72dd05f to
ee63642
Compare
tischsoic
approved these changes
Aug 24, 2026
albozek
force-pushed
the
IBX-12195-js-time-diff
branch
from
August 24, 2026 12:14
ee63642 to
0f93e42
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description:
Added a global time diff mechanism to admin-ui (common/time-diff/) — needed for the live "Edited X ago" labels in the new segmentation audience picker, but placed here with future reuse in mind. It provides formatTimeDiff (vanilla JS, localized natively via Intl.RelativeTimeFormat — no translation keys needed).
For QA:
Documentation: